Skip to content

lovelyplanet2019/BDD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BDD Cucumber Todomvc Test Cases

This is the repo for BDD Cucumber test cases to test the todomvc website.

Get the code

git clone this repo

The project directory structure

The project has build scripts for both Maven and Gradle, and follows the standard directory structure used in most Serenity projects:

src
  + main
  + test
    + java                          Test runners and supporting code
    + resources
      + features                    Feature files
      + webdriver                   Bundled webdriver binaries
        + windows
          chromedriver.exe          OS-specific Webdriver binaries

The TodoMVC application

We will be testing web based todo app. You can find it on the TodoMVC website.

Setup web driver

  1. Download the web driver.

  2. Place the driver at "src/test/resources/webdriver/windows/"

  3. Make sure the "webdriver.chrome.driver" path and driver name is correct in this file : serenity.conf

Run the test cases

You can run the tests by right click on feature file at IntelliJ editor.

Take note the glue in configuration should be "todos.stepdefinitions net.serenitybdd.cucumber.actors"

Author

Jean Gan

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published