Skip to content

chappers00/JavaCucumber

Repository files navigation

JavaCucumber

This is a template test harness project with Cucumber and Selenium

Build Status

TLDR

Linux / Mac:

./gradlew build

Windows:

gradlew.bat build

Purpose

The idea is to provide a quick-start template for new browser test automation projects that want to use a BDD Syntax for describing test cases.

Contributing

Contributions are welcome, please raise a Pull Request to get your changes back into master

Running the template

The template has a couple of tests built in which open Chrome and run a couple of searches; these can be found in sample.feature

The harness is built using Gradle, the tests are configured to run with every build:

./gradlew build

You can also run the tests by executing RunCukesTest.java

Outputs

The primary output is a HTML test report, this can be found in build/cucumber-hmtl-reports/index.html

There is also a JUnit report which is great for CI pipelines build/test-results/test/

Dependency Check

This project also makes use of the OWASP Dependency Check component and the Gradle Plugin so a scan will be performed on every build. The first build may take a couple of minutes if you haven't run the plugin before.

Step definitions

These are located in MyStepDefs.java

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published