CI with Hudson and Cucumber

I want to use a cucumber with Hudson CI. Is it possible to use the cucumber functions inside hudson without using JRuby? If so, can you provide some simple steps to configure Hudson?

Thanks.

+4
source share
2 answers

As long as you have a cucumber installed on the server, you can test any application by executing a cucumber as a build step.

See https://github.com/cucumber/cucumber/wiki/Continuous-Integration for an example using Hudson (now called Jenkins).

+3
source

Install Jenkins and the Rake plugin. Then create a Rakefile. Here is an example that only runs cukes with @jenkins tags

require 'rubygems' require 'cucumber' require 'cucumber/rake/task' Cucumber::Rake::Task.new( :features) do |t| t.cucumber_opts = "features --tags @jenkins " end 

One thing to watch out for. If you run tests in IE on Windows, run "services.msc", find the Jenkins service, and check the box to allow access to the screen.

0
source

Source: https://habr.com/ru/post/1336646/


All Articles