The Web Orders Data-Driven Testing sample is a Java project that includes a Cucumber feature story written with Gherkin. It uses TestLeft to implement test steps for the feature’s test scenario.
It works with the Web Orders application located on our website:
The test adds several orders and verifies that they are displayed correctly in the order list. The order data is stored in the
Examples section of the scenario.
The project uses Maven to specify the libraries the project uses. To run the test, the project uses the JUnit testing framework.
|Note:||If you are new to TestLeft, we recommend that you first follow our Getting Started tutorial to learn how to work with the product. We also recommend that you follow the BDD tutorials to learn how TestLeft integrates with various BDD testing frameworks.|
Your computer must have access to the sample web application located on our website (see above).
Location and Running
You can find the sample project here:
<Users>\Public\Documents\TestLeft 4 Samples\WebOrdersDataDrivenTesting
|Note:||Some file managers can display the Shared Documents and Public Documents folders as the Documents folder.|
Build your project and run the AddOrderTest test.