Hi Mauro,

I can see you're working on my favourite thing - the stuff that turns 
stories into code automatically.

Ryan has volunteered to help us with JBehave, and I foolishly suggested he 
might help without realising you were active on this bit. Here's the list 
of stories I sent to Ryan, which I would very much like to be in place by 
end September.

1) As a developer, I would like to create a new Story class from a story 
text file so that I don't have to do it manually. (This includes the 
narrative.)
2) As a developer, I would like to create a new Scenario class from a 
story text file...
3) As a developer, I would like to create a new Given, Event or Outcome 
class from a story text file...
4) ... I would like not to overwrite any existing class files from the 
Story framework...
5) ... I would like to create two Scenarios from the same story text 
file...
6) ... I would like my Givens, Events or Outcomes to take parameters in 
their constructors, so that I can maintain a useful hierarchy of classes.
7) ... I would like my story components to have the package structure I 
specify, so that I can navigate it easily. (A prefix, with an option for 
the givens / events / outcomes / scenarios / stories subpackages).
8) ... I would like newly created methods to throw a PendingException, so 
that I don't forget to fill them in.

This is because, when I did the game of life stories, it took me 30 
minutes just to turn them into class stubs. That's 30 minutes times 
however many people are using JBehave. Dan and I will be running a BDD 
workshop using JBehave in October, and I'd love for our attendees to have 
this time to do more fun stuff.

Are any of these stories complete? What's still outstanding?

Can we tie any of your code into an ant task? Or could you please send us 
some quick documentation on how to use the code generation (and ant tasks 
will be the next story)?

Thank you very much; the checkin comments were a nice surprise (or maybe I 
should read my mail more thoroughly!)

Cheers,
Liz.

--
Elizabeth Keogh
[EMAIL PROTECTED]
http://sirenian.livejournal.com
http://jbehave.org

Reply via email to