Skip to content

Implementation from Udemy's course " Learn Cucumber BDD with Java -MasterClass Selenium Framework"

Notifications You must be signed in to change notification settings

nadsphere/Cucumber-Master-Class

Repository files navigation

Cucumber-Master-Class

This project uses TestNG for runner

How to excution this project?

Way 1: Run this command to your terminal (Mac/Linux/UNIX) or CMD (Windows):

mvn clean test -Dcucumber.filter.tags="@CheckOut" -Dbrowser=Chrome

Or you can also use this command (if there is an error in your cmd/terminal)

mvn clean test -D"cucumber.filter.tags=@CheckOut" -Dbrowser=Chrome

Ps. you can enter any browser configuration in TestBase.java file if you want (e.g Edge, Firefox, etc)


Way 2: Run without tags and brwoser only (it will execute all features files)

mvn clean test -Dbrowser=Chrome

Way 3: Run the TestNGRunner.java file directly

License

MIT

About

Implementation from Udemy's course " Learn Cucumber BDD with Java -MasterClass Selenium Framework"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published