EDIT: 9:40 AM CST — fixed the download. Missed one absolute path hiding at the bottom of the page. Sorry about that.
In November I made a post about rewriting the StoryTeller test editor (because the current one is an embarassment) in which I wondered out loud about whether to do the rewrite in Javascript against an HTML DOM or try again in WPF. Opinions were mixed, but I already had a working proof of concept for the Javascript/HTML model from Dovetail’s rules engine so I went in that direction. I did most of it the day after Thanksgiving, but put it aside until just the past week. Here’s a zip file with everything you need to play around with the new test editor. Just unzip it, and open the Editor.htm file. There’s a dropdown box at the top that gives you the ability to open up one of about 2 dozen sample tests I use in testing. Admittedly, I haven’t tried this thing on IE (shame on me), but it’s running like a champ on Firefox 3.6. If you see any wonkiness after switching tests, just reload the page.
It isn’t finished yet, but it can happily open up StoryTeller tests with every type of grammar and fixture mode and edit them. I still have to apply:
- Validation (using jQuery validation)
- Ordering via dragging (again more jQuery goodness)
- “IsDirty” checking
- More styling I’m sure
I’d really like some feedback on both the look and feel plus the usability aspects of the test editor.
My thought is that this test editor will be embedded inside the StoryTeller WPF client as just a screen. It’s also my thought that this could be adapted a little bit down the road as a way to host a StoryTeller DSL editor within a web application. As if I didn’t have enough on my plate already, I’m very serious about pushing StoryTeller as a tool for creating external DSL’s in .Net as well as being the FitNesse killer for .Net.