[jbehave-dev] [jira] Created: (JBEHAVE-86) Patch fixing following bug: Maven JBehave plugin does not run text story files
Patch fixing following bug: Maven JBehave plugin does not run text story files -- Key: JBEHAVE-86 URL: http://jira.codehaus.org/browse/JBEHAVE-86 Project: JBehave Issue Type: Bug Components: Core, Maven Plugin, Story runner Affects Versions: 1.0.1 Environment: Patch applied to SVN version 736 Reporter: Eric Lewin Priority: Critical Attachments: fix_maven_plugin_and_introduce_named_interface_2007.05.31.736.patch The patch fixes maven plugin and story runner bugs described in http://archive.jbehave.codehaus.org/dev/465151AA.6020700%40xait.no. The patch also fix a bug when printing stories: when the story and scenario classes are anonymous, numbers are printed. With this patch the name of the story and the scenario(s) are printed. 1. Apply the patch at jbehave/trunk/ 2. run "ant build" 3. run "mvn install" 4. run "mvn integration-test" at plugins/maven/src/it 5. verify that the maven build gives the same as the result further below. 6. remember to add the interface "Named" to Subversion. Feel free to place it somewhere else than org/jbehave/core/story/domain ***Maven results: [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] jBehave Maven Plugin Integration Test 1 [INFO] jBehave Maven Plugin Integration Test 2 [INFO] jBehave Maven Plugin Integration Test 3 [INFO] jBehave Maven Plugin Integration Test Reactor [INFO] [INFO] Building jBehave Maven Plugin Integration Test 1 [INFO]task-segment: [integration-test] [INFO] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Compiling 5 source files to C:\work\svn_workspace\jbehaveTrunkClean\plugins\maven\src\it\test1\target\classes [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] No tests to run. [INFO] [jar:jar] [INFO] Building jar: C:\work\svn_workspace\jbehaveTrunkClean\plugins\maven\src\it\test1\target\jbehave-maven-plugin-it-test1-1.1-SNAPSHOT.jar [INFO] [jbehave:run-behaviours {execution: run-behaviours}] Done something . Time: 0.015s Total: 1. Success! [INFO] [INFO] Building jBehave Maven Plugin Integration Test 2 [INFO]task-segment: [integration-test] [INFO] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Compiling 5 source files to C:\work\svn_workspace\jbehaveTrunkClean\plugins\maven\src\it\test2\target\classes [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] No tests to run. [INFO] [jar:jar] [INFO] Building jar: C:\work\svn_workspace\jbehaveTrunkClean\plugins\maven\src\it\test2\target\jbehave-maven-plugin-it-test2-1.1-SNAPSHOT.jar [INFO] [jbehave:run-story {execution: run-story}] Given org.jbehave.it.stories.givens.ATestToBeRun When org.jbehave.it.stories.events.UserRunsTest Then org.jbehave.it.stories.outcomes.ATestIsRunSuccessfully . Time: 0.0s Total: 1. Success! [INFO] [INFO] Building jBehave Maven Plugin Integration Test 3 [INFO]task-segment: [integration-test] [INFO] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Compiling 5 source files to C:\work\svn_workspace\jbehaveTrunkClean\plugins\maven\src\it\test3\target\classes [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] No tests to run. [INFO] [jar:jar] [INFO] Building jar: C:\work\svn_workspace\jbehaveTrunkClean\plugins\maven\src\it\test3\target\jbehave-maven-plugin-it-test3-1.1-SNAPSHOT.jar [INFO] [jbehave:print-story {execution: run-story}] Story: user runs integration test As a I want So that Scenario: user runs test successfully Given a test to be run When user runs test Then a test is run successfully [INFO] [INFO] Building jBehave Maven Plugin Integration Test Reactor [INFO]task-segment: [integration-test] [INFO] [INFO] [site:attach-descriptor
[jbehave-dev] [jira] Created: (JBEHAVE-87) Sablecc version is not compatible with jdk 1.4
Sablecc version is not compatible with jdk 1.4 -- Key: JBEHAVE-87 URL: http://jira.codehaus.org/browse/JBEHAVE-87 Project: JBehave Issue Type: Bug Components: Core Affects Versions: 1.0, 1.0.1 Reporter: Eric Lewin Priority: Minor Reproduce bug by running "ant sablecc build" Then 1. Download sablecc version 3.1 2. Put in lib/extensions 3. Change sablecc target in ant script to use correct jar file and change path to the existing story.scc grammar file 4. Change the package in story.scc 5. rerun "ant sablecc build" -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
[jbehave-dev] [jira] Created: (JBEHAVE-88) Allow for comments and newlines in story text files
Allow for comments and newlines in story text files --- Key: JBEHAVE-88 URL: http://jira.codehaus.org/browse/JBEHAVE-88 Project: JBehave Issue Type: Improvement Components: Story runner Affects Versions: 1.0, 1.0.1 Reporter: Eric Lewin Se below for a working example of sablecc grammar that allows comments starting with '#'. Please make a more robust grammar if you implement this improvement. ... Helpers letter = [['a'..'z'] + ['A'..'Z']]; digit = ['0'..'9']; space = ' '; tab = 9; cr = 13; lf = 10; endl = cr | lf | cr lf; commentchar = '#'; specialchar = '/' | '?' | '-' | '.' | '*' | '(' | ')'; norwegianchar = 'æ'|'ø'|'å'|'Æ'|'Ø'|'Å'; commentchars = space | tab | letter | digit | specialchar | norwegianchar; Tokens title_keyword = 'Title:'; scenario_keyword = 'Scenario:'; as_a = 'As a'; i_want = 'I want'; so_that = 'So that'; given = 'Given'; when = 'When'; then = 'Then'; space = space; word = letter+; endl = endl; commentline = commentchar commentchars* endl; Ignored Tokens commentline; Productions story = title role? feature? benefit? scenario*; ... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
[jbehave-dev] [jira] Updated: (JBEHAVE-88) Allow for comments and newlines in story text files
[ http://jira.codehaus.org/browse/JBEHAVE-88?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mauro Talevi updated JBEHAVE-88: Fix Version/s: 1.1 > Allow for comments and newlines in story text files > --- > > Key: JBEHAVE-88 > URL: http://jira.codehaus.org/browse/JBEHAVE-88 > Project: JBehave > Issue Type: Improvement > Components: Story runner >Affects Versions: 1.0, 1.0.1 >Reporter: Eric Lewin >Assignee: Mauro Talevi > Fix For: 1.1 > > > Se below for a working example of sablecc grammar that allows comments > starting with '#'. Please make a more robust grammar if you implement this > improvement. > ... > Helpers > letter = [['a'..'z'] + ['A'..'Z']]; > digit = ['0'..'9']; > space = ' '; > tab = 9; > cr = 13; > lf = 10; > endl = cr | lf | cr lf; > commentchar = '#'; > specialchar = '/' | '?' | '-' | '.' | '*' | '(' | ')'; > norwegianchar = 'æ'|'ø'|'å'|'Æ'|'Ø'|'Å'; > commentchars = space | tab | letter | digit | specialchar | > norwegianchar; > Tokens > title_keyword = 'Title:'; > scenario_keyword = 'Scenario:'; > as_a = 'As a'; > i_want = 'I want'; > so_that = 'So that'; > given = 'Given'; > when = 'When'; > then = 'Then'; > space = space; > word = letter+; > endl = endl; > commentline = commentchar commentchars* endl; > Ignored Tokens > commentline; > Productions > story = > title > role? > feature? > benefit? > scenario*; > ... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
[jbehave-dev] [jira] Assigned: (JBEHAVE-88) Allow for comments and newlines in story text files
[ http://jira.codehaus.org/browse/JBEHAVE-88?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mauro Talevi reassigned JBEHAVE-88: --- Assignee: Mauro Talevi > Allow for comments and newlines in story text files > --- > > Key: JBEHAVE-88 > URL: http://jira.codehaus.org/browse/JBEHAVE-88 > Project: JBehave > Issue Type: Improvement > Components: Story runner >Affects Versions: 1.0, 1.0.1 >Reporter: Eric Lewin >Assignee: Mauro Talevi > Fix For: 1.1 > > > Se below for a working example of sablecc grammar that allows comments > starting with '#'. Please make a more robust grammar if you implement this > improvement. > ... > Helpers > letter = [['a'..'z'] + ['A'..'Z']]; > digit = ['0'..'9']; > space = ' '; > tab = 9; > cr = 13; > lf = 10; > endl = cr | lf | cr lf; > commentchar = '#'; > specialchar = '/' | '?' | '-' | '.' | '*' | '(' | ')'; > norwegianchar = 'æ'|'ø'|'å'|'Æ'|'Ø'|'Å'; > commentchars = space | tab | letter | digit | specialchar | > norwegianchar; > Tokens > title_keyword = 'Title:'; > scenario_keyword = 'Scenario:'; > as_a = 'As a'; > i_want = 'I want'; > so_that = 'So that'; > given = 'Given'; > when = 'When'; > then = 'Then'; > space = space; > word = letter+; > endl = endl; > commentline = commentchar commentchars* endl; > Ignored Tokens > commentline; > Productions > story = > title > role? > feature? > benefit? > scenario*; > ... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
[jbehave-dev] [jira] Updated: (JBEHAVE-86) Patch fixing following bug: Maven JBehave plugin does not run text story files
[ http://jira.codehaus.org/browse/JBEHAVE-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mauro Talevi updated JBEHAVE-86: Fix Version/s: 1.1 > Patch fixing following bug: Maven JBehave plugin does not run text story files > -- > > Key: JBEHAVE-86 > URL: http://jira.codehaus.org/browse/JBEHAVE-86 > Project: JBehave > Issue Type: Bug > Components: Core, Maven Plugin, Story runner >Affects Versions: 1.0.1 > Environment: Patch applied to SVN version 736 >Reporter: Eric Lewin >Assignee: Mauro Talevi >Priority: Critical > Fix For: 1.1 > > Attachments: > fix_maven_plugin_and_introduce_named_interface_2007.05.31.736.patch > > > The patch fixes maven plugin and story runner bugs described in > http://archive.jbehave.codehaus.org/dev/465151AA.6020700%40xait.no. > The patch also fix a bug when printing stories: when the story and scenario > classes are anonymous, numbers are printed. With this patch the name of the > story and the scenario(s) are printed. > 1. Apply the patch at jbehave/trunk/ > 2. run "ant build" > 3. run "mvn install" > 4. run "mvn integration-test" at plugins/maven/src/it > 5. verify that the maven build gives the same as the result further below. > 6. remember to add the interface "Named" to Subversion. Feel free to place it > somewhere else than org/jbehave/core/story/domain > ***Maven results: > [INFO] Scanning for projects... > [INFO] Reactor build order: > [INFO] jBehave Maven Plugin Integration Test 1 > [INFO] jBehave Maven Plugin Integration Test 2 > [INFO] jBehave Maven Plugin Integration Test 3 > [INFO] jBehave Maven Plugin Integration Test Reactor > [INFO] > > [INFO] Building jBehave Maven Plugin Integration Test 1 > [INFO]task-segment: [integration-test] > [INFO] > > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > [INFO] Compiling 5 source files to > C:\work\svn_workspace\jbehaveTrunkClean\plugins\maven\src\it\test1\target\classes > [INFO] [resources:testResources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:testCompile] > [INFO] No sources to compile > [INFO] [surefire:test] > [INFO] No tests to run. > [INFO] [jar:jar] > [INFO] Building jar: > C:\work\svn_workspace\jbehaveTrunkClean\plugins\maven\src\it\test1\target\jbehave-maven-plugin-it-test1-1.1-SNAPSHOT.jar > [INFO] [jbehave:run-behaviours {execution: run-behaviours}] > Done something > . > Time: 0.015s > Total: 1. Success! > [INFO] > > [INFO] Building jBehave Maven Plugin Integration Test 2 > [INFO]task-segment: [integration-test] > [INFO] > > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > [INFO] Compiling 5 source files to > C:\work\svn_workspace\jbehaveTrunkClean\plugins\maven\src\it\test2\target\classes > [INFO] [resources:testResources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:testCompile] > [INFO] No sources to compile > [INFO] [surefire:test] > [INFO] No tests to run. > [INFO] [jar:jar] > [INFO] Building jar: > C:\work\svn_workspace\jbehaveTrunkClean\plugins\maven\src\it\test2\target\jbehave-maven-plugin-it-test2-1.1-SNAPSHOT.jar > [INFO] [jbehave:run-story {execution: run-story}] > Given org.jbehave.it.stories.givens.ATestToBeRun > When org.jbehave.it.stories.events.UserRunsTest > Then org.jbehave.it.stories.outcomes.ATestIsRunSuccessfully > . > Time: 0.0s > Total: 1. Success! > [INFO] > > [INFO] Building jBehave Maven Plugin Integration Test 3 > [INFO]task-segment: [integration-test] > [INFO] > > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > [INFO] Compiling 5 source files to > C:\work\svn_workspace\jbehaveTrunkClean\plugins\maven\src\it\test3\target\classes > [INFO] [resources:testResources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:testCompile] > [INFO] No sources to compile > [INFO] [surefire:test] > [INFO] No tests to run. > [INFO] [jar:jar] > [INFO] Building jar: > C:\work\svn_workspace\jbehaveTrunkClean\plugins\maven\src\it\test3\target\jbehave-maven-plugin-it-test3-1.1-SNAPSHOT.jar > [INFO] [jbehave:print-story {execution: run-story
[jbehave-dev] [jira] Updated: (JBEHAVE-87) Sablecc version is not compatible with jdk 1.4
[ http://jira.codehaus.org/browse/JBEHAVE-87?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mauro Talevi updated JBEHAVE-87: Fix Version/s: 1.1 > Sablecc version is not compatible with jdk 1.4 > -- > > Key: JBEHAVE-87 > URL: http://jira.codehaus.org/browse/JBEHAVE-87 > Project: JBehave > Issue Type: Bug > Components: Core >Affects Versions: 1.0, 1.0.1 >Reporter: Eric Lewin >Assignee: Mauro Talevi >Priority: Minor > Fix For: 1.1 > > > Reproduce bug by running "ant sablecc build" > Then > 1. Download sablecc version 3.1 > 2. Put in lib/extensions > 3. Change sablecc target in ant script to use correct jar file and change > path to the existing story.scc grammar file > 4. Change the package in story.scc > 5. rerun "ant sablecc build" -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
[jbehave-dev] [jira] Assigned: (JBEHAVE-86) Patch fixing following bug: Maven JBehave plugin does not run text story files
[ http://jira.codehaus.org/browse/JBEHAVE-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mauro Talevi reassigned JBEHAVE-86: --- Assignee: Mauro Talevi > Patch fixing following bug: Maven JBehave plugin does not run text story files > -- > > Key: JBEHAVE-86 > URL: http://jira.codehaus.org/browse/JBEHAVE-86 > Project: JBehave > Issue Type: Bug > Components: Core, Maven Plugin, Story runner >Affects Versions: 1.0.1 > Environment: Patch applied to SVN version 736 >Reporter: Eric Lewin >Assignee: Mauro Talevi >Priority: Critical > Fix For: 1.1 > > Attachments: > fix_maven_plugin_and_introduce_named_interface_2007.05.31.736.patch > > > The patch fixes maven plugin and story runner bugs described in > http://archive.jbehave.codehaus.org/dev/465151AA.6020700%40xait.no. > The patch also fix a bug when printing stories: when the story and scenario > classes are anonymous, numbers are printed. With this patch the name of the > story and the scenario(s) are printed. > 1. Apply the patch at jbehave/trunk/ > 2. run "ant build" > 3. run "mvn install" > 4. run "mvn integration-test" at plugins/maven/src/it > 5. verify that the maven build gives the same as the result further below. > 6. remember to add the interface "Named" to Subversion. Feel free to place it > somewhere else than org/jbehave/core/story/domain > ***Maven results: > [INFO] Scanning for projects... > [INFO] Reactor build order: > [INFO] jBehave Maven Plugin Integration Test 1 > [INFO] jBehave Maven Plugin Integration Test 2 > [INFO] jBehave Maven Plugin Integration Test 3 > [INFO] jBehave Maven Plugin Integration Test Reactor > [INFO] > > [INFO] Building jBehave Maven Plugin Integration Test 1 > [INFO]task-segment: [integration-test] > [INFO] > > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > [INFO] Compiling 5 source files to > C:\work\svn_workspace\jbehaveTrunkClean\plugins\maven\src\it\test1\target\classes > [INFO] [resources:testResources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:testCompile] > [INFO] No sources to compile > [INFO] [surefire:test] > [INFO] No tests to run. > [INFO] [jar:jar] > [INFO] Building jar: > C:\work\svn_workspace\jbehaveTrunkClean\plugins\maven\src\it\test1\target\jbehave-maven-plugin-it-test1-1.1-SNAPSHOT.jar > [INFO] [jbehave:run-behaviours {execution: run-behaviours}] > Done something > . > Time: 0.015s > Total: 1. Success! > [INFO] > > [INFO] Building jBehave Maven Plugin Integration Test 2 > [INFO]task-segment: [integration-test] > [INFO] > > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > [INFO] Compiling 5 source files to > C:\work\svn_workspace\jbehaveTrunkClean\plugins\maven\src\it\test2\target\classes > [INFO] [resources:testResources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:testCompile] > [INFO] No sources to compile > [INFO] [surefire:test] > [INFO] No tests to run. > [INFO] [jar:jar] > [INFO] Building jar: > C:\work\svn_workspace\jbehaveTrunkClean\plugins\maven\src\it\test2\target\jbehave-maven-plugin-it-test2-1.1-SNAPSHOT.jar > [INFO] [jbehave:run-story {execution: run-story}] > Given org.jbehave.it.stories.givens.ATestToBeRun > When org.jbehave.it.stories.events.UserRunsTest > Then org.jbehave.it.stories.outcomes.ATestIsRunSuccessfully > . > Time: 0.0s > Total: 1. Success! > [INFO] > > [INFO] Building jBehave Maven Plugin Integration Test 3 > [INFO]task-segment: [integration-test] > [INFO] > > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > [INFO] Compiling 5 source files to > C:\work\svn_workspace\jbehaveTrunkClean\plugins\maven\src\it\test3\target\classes > [INFO] [resources:testResources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:testCompile] > [INFO] No sources to compile > [INFO] [surefire:test] > [INFO] No tests to run. > [INFO] [jar:jar] > [INFO] Building jar: > C:\work\svn_workspace\jbehaveTrunkClean\plugins\maven\src\it\test3\target\jbehave-maven-plugin-it-test3-1.1-SNAPSHOT.jar > [INFO] [jbehave:print-story {execution:
[jbehave-dev] [jira] Assigned: (JBEHAVE-87) Sablecc version is not compatible with jdk 1.4
[ http://jira.codehaus.org/browse/JBEHAVE-87?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mauro Talevi reassigned JBEHAVE-87: --- Assignee: Mauro Talevi > Sablecc version is not compatible with jdk 1.4 > -- > > Key: JBEHAVE-87 > URL: http://jira.codehaus.org/browse/JBEHAVE-87 > Project: JBehave > Issue Type: Bug > Components: Core >Affects Versions: 1.0, 1.0.1 >Reporter: Eric Lewin >Assignee: Mauro Talevi >Priority: Minor > Fix For: 1.1 > > > Reproduce bug by running "ant sablecc build" > Then > 1. Download sablecc version 3.1 > 2. Put in lib/extensions > 3. Change sablecc target in ant script to use correct jar file and change > path to the existing story.scc grammar file > 4. Change the package in story.scc > 5. rerun "ant sablecc build" -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email