Skip to content

mfaisalkhatri/junit-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Don't forget to give a ⭐ to make the project popular.

❓ What is this Repository about?

  • 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.

Running the Tests

By default, tests would be running on LambdaTest Platform on Chrome Browser.

  1. To run the test from command line use the following command:

    • mvn test -Dusername=<LambdaTest username> -DaccessKey<LambdaTest access key>
  2. 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.

Blog Links

🧬 Need Assistance?

  • Discuss your queries by writing to me @ mohammadfaisalkhatri@gmail.com OR ping me on any of the social media sites using the below link:

💭 Checkout the blogs related to Testing on Medium blog, My Website and LambdaTest blogs

🔖 Checkout videos related to Software Testing and Test automation tools on Testing Talks with Faisal Khatri

About

Learn how to write tests using JUnit 5

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages