Skip to content

FrameworkOpenBDT/sample-openbdt-web-junit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample OpenBDT Web Testing (JUnit)

A simple example of some BDD-style automated acceptance criteria.

Requirements

The Following dependencies must be installed before writing and running your tests:

Project Structure:

The project is initially composed by four packages. Considering this sample project has the root package equivalent to io.openbdt.junit, there are four other packages inside the root:

  • features: Must contain all the feature classes to be tested.
  • model: Inside this package, you should create the classes used by the business logic of your tests (e.g User, Account, ListItem, etc).
  • pages: Classes that extend PageObject and actually are the pages that your test interact to.
  • steps: In this package, the creation of classes that implements all the feature test steps.

Execution

Inside the project, type the command bellow in console:

mvn clean verify

Report

The reports will be generated in serenity-report folder inside the project folder.

About

Sample OpenBDT Web Testing Project (JUnit)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages