Add features:html task to Rakefile, use cucumber profiles
This commit is contained in:
		
							parent
							
								
									a4e37c9d0a
								
							
						
					
					
						commit
						6cef28ed58
					
				
							
								
								
									
										5
									
								
								Rakefile
								
								
								
								
							
							
						
						
									
										5
									
								
								Rakefile
								
								
								
								
							|  | @ -66,7 +66,10 @@ end | |||
| begin | ||||
|   require 'cucumber/rake/task' | ||||
|   Cucumber::Rake::Task.new(:features) do |t| | ||||
|     t.cucumber_opts = "--format progress" | ||||
|     t.profile = "travis" | ||||
|   end | ||||
|   Cucumber::Rake::Task.new(:"features:html", "Run Cucumber features and produce HTML output") do |t| | ||||
|     t.profile = "html_report" | ||||
|   end | ||||
| rescue LoadError | ||||
|   desc 'Cucumber rake task not available' | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue