How to run a single cucumber file
When you develop you Cucumber tests you do need to run single cucumber file. Here is how to run a single cucumber file.
Run single cucumber file in ruby (macOS)
Run single cucumber file in ruby (Linux)
If you have a pipeline job you might want to run a single cucumber file in jenkins in headless mode you can configure your pipeline to run a single file rather than running parallel of all tests.
You can simply create a method that calls the run tests method below which determines which set of tests to run based on the build variables.
Where run featurefile();:
Happy testing!
The post How to run a single cucumber file appeared first on Testingrepository - Talking about selenium , and our passion.
This post first appeared on Testing Repository - Creating Testing, please read the originial post: here