Selennium Test Case for todomvc.com with JUnit

  1. Connect: Connect to the url https://todomvc.com
  2. Choose a technology: Click on a technology link (Backbone.js ...)
  3. Add todo: Add several examples of actions (Meet a friend, Buy meat, clean the car ...).
  4. Check an action: Check one or more actions.
  5. test: Compare the x item (s) left field with the expected result.

ParameterizedTest

Use the same Test case for multiple technologies.

Maven Surefire Plugin

Use the Maven Surefire Plugin to generate test reports.

Run the command

mvn test

You can see the report in /target/site/surefire-report.html