- This repo contains automation tests for Junit 5 Unit testing framework.
- This project uses Maven as build tool and JUnit 5 framework to run the tests.
- LambdaTest E-Commerce Playground website is used for running the demo tests.
By default, tests would be running on LambdaTest Platform on Chrome Browser.
-
To run the test from command line use the following command:
mvn test -Dusername=<LambdaTest username> -DaccessKey<LambdaTest access key>
-
To run the tests using JUnit 5 in intelliJ:
-
Open Run Configuration menu using the
Run >> Edit configurations >> JUnit
menu and add the LambdaTest username and access key in the VM option as follows: -Dusername = -DaccessKey = -
Click on Apply and OK to start running the tests.
-
- How To Use JUnit Ignore Test Annotation [With Examples]
- JUnit Tutorial: Writing Nested Tests In JUnit 5
๐งฌ Need Assistance?
- Discuss your queries by writing to me @
[email protected]
OR ping me on any of the social media sites using the below link: