samedi 26 septembre 2015

Cucumber Report Header Override using Ruby

I have generated cucumber report but I wanted to override Header which says "Cucumber Features" to use the environment variables defined which should look like "NAME1 NAME2 are the reports"

I am reading the arguments into an environment variable in ruby in env.rb file

appname1 = ENV['appname1'] appname2 = ENV['appname2']

cucumber appname1="NAME1" appname2="NAME2" -p features_01

I have looked into http://ift.tt/1Wp1XlH

Aucun commentaire:

Enregistrer un commentaire