commit 701bea2a9eb6831463b697e2035c4cc93324ebb4 Author: Mauro Talevi <mauro.tal...@aquilonia.org> AuthorDate: Wed, 19 Mar 2014 09:23:31 +0100 Commit: Mauro Talevi <mauro.tal...@aquilonia.org> CommitDate: Wed, 19 Mar 2014 09:23:31 +0100
Updated READMEs. diff --git a/etsy-selenium/README.md b/etsy-selenium/README.md index ca55485..be95650 100644 --- a/etsy-selenium/README.md +++ b/etsy-selenium/README.md @@ -6,7 +6,8 @@ These tutorial projects use [jbehave-core](http://github.com/jbehave/jbehave-cor ## Modules -1. The module 'groovy-pico' runs (via maven) stories using steps and 'page objects' written in Groovy and composed using PicoContainer. -2. The module 'java-spring' runs (via maven) stories using steps and 'page objects' written in Java and composed using the Spring Framework. +1. The module 'groovy-pico' runs stories using steps and 'page objects' written in Groovy and composed using PicoContainer. +2. The module 'java-spring' runs stories using steps and 'page objects' written in Java and composed using the Spring Framework. -p. The two functionally test the same as each other, it's just that you may prefer Groovy or Java, and PicoContainer or Spring. + The two modules are functionally equivalent. They simply show how the user may prefer the steps written in a different language (Groovy or Java) and + composed using a different DI container (PicoContainer or Spring). diff --git a/etsy-selenium/groovy-pico/README.md b/etsy-selenium/groovy-pico/README.md index 549d28a..6343c60 100644 --- a/etsy-selenium/groovy-pico/README.md +++ b/etsy-selenium/groovy-pico/README.md @@ -6,7 +6,7 @@ This tutorial uses JBehave 3.x and Selenium 2.x to test [Etsy.com](http://etsy.c ## Running the stories -This will run the build and (after a minute or so) Firefox will open and test the etsy.com website: +This will run the build and test the etsy.com website: mvn clean install @@ -20,9 +20,7 @@ This will run a suite based on the meta filters in the three story files: mvn clean install -Dmeta.filter="+color red" -This will run tests in parallel in SauceLabs' stack: - -(use YOUR details from YOUR [SauceLabs.com](http://saucelabs.com) account) +To run in parallel in SauceLabs' stack (use YOUR details from YOUR [SauceLabs.com](http://saucelabs.com) account): mvn clean install -DSAUCE_USERNAME=your_sauce_id -DSAUCE_ACCESS_KEY=your_sauce_access_key @@ -43,7 +41,7 @@ The tutorial aims to provide a fully-functional project that you can use to mode 2. src/main/stories contains the stories run by JBehave via EtsyDotComStories.java. 3. src/main/groovy/HousekeepingSteps.groovy contains the steps does housekeeping chores, such as emptying cart between scenarios. 4. src/main/groovy/EtsyDotComSteps.groovy contains the steps mapped to the textual steps. -5. src/main/groovy/pages contains the Groovy page-objects used by steps to abstract in a more manageable and maintainable way the interaction with the web pages via Selenium WebDriver. +5. src/main/groovy/pages contains the page-objects used by steps to abstract in a more manageable and maintainable way the interaction with the web pages via Selenium WebDriver. diff --git a/etsy-selenium/java-spring/README.md b/etsy-selenium/java-spring/README.md index 2bcf2c4..444f901 100644 --- a/etsy-selenium/java-spring/README.md +++ b/etsy-selenium/java-spring/README.md @@ -6,7 +6,7 @@ This tutorial uses JBehave 3.x and Selenium 2.x to test [Etsy.com](http://etsy.c ## Running the stories -This will run the build and (after a minute or so) Firefox will open and test the etsy.com website: +This will run the build and test the etsy.com website: mvn clean install @@ -34,7 +34,7 @@ The tutorial aims to provide a fully-functional project that you can use to mode 2. src/main/stories contains the stories run by JBehave via EtsyDotComStories.java. 3. src/main/java/org/jbehave/tutorials/etsy/steps/HousekeepingSteps.java contains the steps does housekeeping chores, such as emptying cart between scenarios. 4. src/main/java/org/jbehave/tutorials/etsy/steps/EtsyDotComSteps.java contains the steps mapped to the textual steps. -5. src/main/java/org/jbehave/tutorials/etsy/pages contains the Groovy page-objects used by steps to abstract in a more manageable and maintainable way the interaction with the web pages via Selenium WebDriver. +5. src/main/java/org/jbehave/tutorials/etsy/pages contains the page-objects used by steps to abstract in a more manageable and maintainable way the interaction with the web pages via Selenium WebDriver. 6. src/main/resources/etsy-steps.xml contains the Spring configuration for composition the steps