[
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}]
> 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]
> [INFO]
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> ------------------------------------------------------------------------
> [INFO] jBehave Maven Plugin Integration Test 1 ............... SUCCESS
> [2.812s]
> [INFO] jBehave Maven Plugin Integration Test 2 ............... SUCCESS
> [0.969s]
> [INFO] jBehave Maven Plugin Integration Test 3 ............... SUCCESS
> [1.000s]
> [INFO] jBehave Maven Plugin Integration Test Reactor ......... SUCCESS
> [1.093s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Thu May 31 12:03:01 CEST 2007
> [INFO] Final Memory: 8M/16M
> [INFO]
> ------------------------------------------------------------------------
--
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