Skip to content

This is a sample framework that utilises Cucumber-TestNG to run tests in parallel using forked JVM Processes.

License

Notifications You must be signed in to change notification settings

antowaddle/Selenium-Cucumber-Quickstart

Repository files navigation

This framework auto generates runners into the target class which allows for much easier test execution.

mvn clean generate-test-sources

  • This generates the runners and should be done from the ui-acceptance-tests pom.

mvnw clean verify -Dgui.feature.tags=@regression -Dbrowser=chrome -Dforked.jvm.count=3 -Duse.selenium.grid=false

  • This command will run the tests in parallel, at the moment, it's setup to run 3 browsers in parallel.

Reports are generated in 2 formats, Cucumber Reports and Allure.

  • Cucumber Reports generate in the target class

To generate Allure reports, run allure serve in the ui-acceptance-tests location (please note, allure will need to be setup before hand for this to work).

About

This is a sample framework that utilises Cucumber-TestNG to run tests in parallel using forked JVM Processes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published