Man, you are right.... one week is incredibly long time for an OLDER programmer to deal with some SIMPLE java stuff... for GOD love !!!

The unique thing that I needed to do, AS I've SAID BEFORE, was to copy the lib folder with JBehave dependencies (created by the trader-ant example) into the target folder of the desired project.

Take a look at the execution log below:

C4bizPro:target cvgaviao$ *java -cp 'jbehave-gameoflife-example-3.6-SNAPSHOT.jar:lib/*' org.junit.runner.JUnitCore com.lunivore.gameoflife.stories.ICanToggleACell

*Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8JUnit version 4.8.2
.Processing system properties {}
Using controls EmbedderControls[batch=false,skip=false,generateViewAfterStories=true,ignoreFailureInStories=false,ignoreFailureInView=false,verboseFailures=false,storyTimeoutInSecs=300,threads=1]
Using 1 threads

(BeforeStories)

Running story com/lunivore/gameoflife/stories/i_can_toggle_a_cell.story

(com/lunivore/gameoflife/stories/i_can_toggle_a_cell.story)
Scenario:
Given a 5 by 5 game
When I toggle the cell at (2, 3)
Then the grid should look like
.....
.....
.....
..X..
.....
When I toggle the cell at (2, 4)
Then the grid should look like
.....
.....
.....
..X..
..X..
When I toggle the cell at (2, 3)
Then the grid should look like
.....
.....
.....
.....
..X..



(AfterStories)

Generating reports view to '/Users/cvgaviao/Development/C4Biz_Projects/JBehave/jbehave-core/examples/gameoflife/target/target/jbehave' using formats '[stats, console, txt]' and view properties '{defaultFormats=stats, decorateNonHtml=true, viewDirectory=view, decorated=ftl/jbehave-report-decorated.ftl, reports=ftl/jbehave-reports-with-totals.ftl, maps=ftl/jbehave-maps.ftl, navigator=ftl/jbehave-navigator.ftl, views=ftl/jbehave-views.ftl, nonDecorated=ftl/jbehave-report-non-decorated.ftl}' Reports view generated with 3 stories (of which 0 pending) containing 1 scenarios (of which 0 pending)

Time: 1.049

OK (1 test)


Reply via email to