Re: [jbehave-dev] multiple ensures in one should

2007-07-12 Thread Michael Hunger
I'm just reading xUnit Test Patterns by Gerard Meszaros, there the one assertion per method is softened by the fact that one could and should create custom assertion methods (extract method) to assert complex state. Please keep in mind the difference of asserting state or behaviour as JBehaeve aim

[jbehave-dev] multiple ensures in one should

2007-07-12 Thread Shane Duan
I was reading this post (http://blog.jayfields.com/2007/06/testing-one-assertion-per-test.html). I agree that one assertion per test is nice but the overhead is big, not to mention you need to figure out a way to show that three methods are related to the same thing. Then it hit me, maybe we can

Re: [jbehave-dev] Re: story tracking tool?

2007-07-12 Thread Shane Duan
To do what JIRA dose right now, if we add all the stories to JIRA (which is cumbersome) For example, the list the Liz sent could have been there and it would be easier to see the work being done. On 7/12/07, Mauro Talevi <[EMAIL PROTECTED]> wrote: Shane Duan wrote: > I know I have been rather

[jbehave-dev] Re: story tracking tool?

2007-07-12 Thread Mauro Talevi
Shane Duan wrote: I know I have been rather inactive lately but I still have full intention to implement the idea plugin for GUI behavior runner like the JUnit support in IDEA. Maybe a good way is for me to put the story/tasks somewhere? We have pivotal tracker project, and ThoughtWorks has min

[jbehave-dev] Re: Time for a 1.1-beta-1 release?

2007-07-12 Thread Mauro Talevi
Elizabeth Keogh wrote: Any chance we can get these code generation stories in before 1.1? +1 for code generation before 1.1 but we can still release a 1.1-beta-1 with only some of them implemented. See reply to other email. My help is available weekends... Ok - have a look at what's b

[jbehave-dev] Re: JBehave story code generator

2007-07-12 Thread Mauro Talevi
Hi Liz, Elizabeth Keogh wrote: Hi Mauro, I can see you're working on my favourite thing - the stuff that turns stories into code automatically. an itch that had to be scratched :-) Ryan has volunteered to help us with JBehave, and I foolishly suggested he might help without realising you

[jbehave-scm] [760] trunk: Moved dependency management to parent pom.

2007-07-12 Thread mauro
Title: [760] trunk: Moved dependency management to parent pom. Revision 760 Author mauro Date 2007-07-12 14:07:06 -0500 (Thu, 12 Jul 2007) Log Message Moved dependency management to parent pom. Modified Paths trunk/core/pom.xml trunk/plugins/maven/pom.xml trunk/pom.xml Diff Modifie

[jbehave-dev] story tracking tool?

2007-07-12 Thread Shane Duan
I know I have been rather inactive lately but I still have full intention to implement the idea plugin for GUI behavior runner like the JUnit support in IDEA. Maybe a good way is for me to put the story/tasks somewhere? We have pivotal tracker project, and ThoughtWorks has mingle now. A while a

Re: [jbehave-dev] Time for a 1.1-beta-1 release?

2007-07-12 Thread Elizabeth Keogh
Any chance we can get these code generation stories in before 1.1? My help is available weekends... 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

[jbehave-dev] JBehave story code generator

2007-07-12 Thread Elizabeth Keogh
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

[jbehave-dev] Maven plugin improvements

2007-07-12 Thread Mauro Talevi
Hi, for folks interested in using jBehave via the Maven plugin, a number of improvements and bugfixes have been implemented, as also suggested previously on the list: http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&mode=hide&pid=10680&status=5&status=6&updated:previous=-1w&sorte

[jbehave-dev] Velocity code generator

2007-07-12 Thread Mauro Talevi
Hi, a velocity-based code generator has been added to the jBehave core http://jira.codehaus.org/browse/JBEHAVE-94 Requires two input params: story source directory and story package name. See behaviour for details: https://svn.codehaus.org/jbehave/trunk/core/src/behaviour/org/jbehave/core/st

[jbehave-dev] [jira] Closed: (JBEHAVE-95) Add generate-story-code goal

2007-07-12 Thread Mauro Talevi (JIRA)
[ http://jira.codehaus.org/browse/JBEHAVE-95?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mauro Talevi closed JBEHAVE-95. --- Resolution: Fixed Added StoryCodeGeneratorMojo which executes generate-story-code goal. Uses the same conf

[jbehave-dev] [jira] Closed: (JBEHAVE-94) Velocity code generator for story

2007-07-12 Thread Mauro Talevi (JIRA)
[ http://jira.codehaus.org/browse/JBEHAVE-94?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mauro Talevi closed JBEHAVE-94. --- Resolution: Fixed Done > Velocity code generator for story > -- > >

[jbehave-scm] [759] trunk/plugins/maven: JBEHAVE-95: Added StoryCodeGeneratorMojo to run generate-story-code goal.

2007-07-12 Thread mauro
Title: [759] trunk/plugins/maven: JBEHAVE-95: Added StoryCodeGeneratorMojo to run generate-story-code goal. Revision 759 Author mauro Date 2007-07-12 08:25:36 -0500 (Thu, 12 Jul 2007) Log Message JBEHAVE-95: Added StoryCodeGeneratorMojo to run generate-story-code goal. Modified Paths

[jbehave-scm] [758] trunk/core/src/java/org/jbehave/core/story/codegen/velocity/VelocityCodeGenerator.java: Better naming.

2007-07-12 Thread mauro
Title: [758] trunk/core/src/java/org/jbehave/core/story/codegen/velocity/VelocityCodeGenerator.java: Better naming. Revision 758 Author mauro Date 2007-07-12 04:55:04 -0500 (Thu, 12 Jul 2007) Log Message Better naming. Modified Paths trunk/core/src/java/org/jbehave/core/story/codegen/ve

Re: [jbehave-dev] Re: [jbehave-user] Recent changes to JBehave

2007-07-12 Thread Elizabeth Keogh
There are plans afoot. Cheers, Liz. [EMAIL PROTECTED] wrote on 10/07/2007 17:06:01: > Yeah, me too :) > On 7/10/07, Alexandre Martins <[EMAIL PROTECTED]> wrote: > I like the idea of using Hamcrest in JBehave. > It'd be great if I could count on Beans matchers as well as Number matchers. > Che

[jbehave-scm] [757] trunk: Formatted

2007-07-12 Thread mauro
Title: [757] trunk: Formatted Revision 757 Author mauro Date 2007-07-12 02:44:02 -0500 (Thu, 12 Jul 2007) Log Message Formatted Modified Paths trunk/plugins/maven/pom.xml trunk/pom.xml Diff Modified: trunk/plugins/maven/pom.xml (756 => 757) --- trunk/plugins/maven/pom.xml 2007-07-