Search code examples
rubycucumberrubymine-7

Scheduling Cucumber test features to run repeatedly


I have a Cucumber test (feature files) in the RubyMine IDE and lately I have a need to execute one of the feature repeatedly on a scheduled time.

I haven't found a way to do so. Any idea or thoughts on scheduling that feature file?


Solution

  • I solved the problem by simply installing Jenkins on my machine from its official site,https://jenkins-ci.org/. I configured master and slave nodes on my own machine because I just needed to run one feature file(it has the script I want to run on daily basis).

    Although, it is recommended to configure slave on a different machine if we have multiple jobs to run and our jobs are resource intensive.

    There is a very good illustration on installing, configuring and running jobs in this link http://yakiloo.com/setup-jenkins-and-windows/