[rspec-devel] In-browser editor for RSpec stories
aslak.hellesoy at gmail.com
Wed Oct 24 05:02:07 EDT 2007
On 10/24/07, Josh Chisholm <joshuachisholm at gmail.com> wrote:
> Nice work.
> It would be extra nice if the UI could give feedback on how the text
> corresponds to step matchers defined in the project. Ideally you could
If you click "New step" and start typing a "g" (or "w" or "t"), the
autocompletion of available steps will help you.
> "expand" a step in some way to see the code in the matcher as this
> would reduce the "mapping" between the plain text stories and the
This is something that I will give low priority. The target audience
for this browser tool is people who don't read (or want to read) code.
> In any case I think the "round-trip" GUI will make this idea a real winner.
I hope so too!
> On 10/24/07, aslak hellesoy <aslak.hellesoy at gmail.com> wrote:
> > Following David, Pat and the list's great work on the new plain text
> > stories, I felt I had to contribute something too:
> > http://blog.aslakhellesoy.com/2007/10/24/in-browser-editor-for-rspec-stories
> > This is actually something I started fiddling with at RailsConf EU,
> > but left in a very half-baked state. With the new plain text stories,
> > I think this can actually be useful.
> > Here is what I'm thinking: RSpec would be equipped by a tiny WEBrick
> > based webapp that lets you execute stories and get the result as HTML
> > - very much like classic RSpec. Take a look at the HTML - it's dead
> > simple.
> > alive and lets the user edit the DOM-representation of the stories.
> > could re-generate the story text(s) based on the current DOM and POST
> > it back to the browser. This would save the text to file (over the old
> > one) and possibly even do an svn commit.
> > WDYT?
> > _______________________________________________
> > rspec-devel mailing list
> > rspec-devel at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/rspec-devel
> rspec-devel mailing list
> rspec-devel at rubyforge.org
More information about the rspec-devel