Method: Hydra::Listener::CombineHtml#combine_features
- Defined in:
- lib/hydra/listener/cucumber_html_report.rb
#combine_features ⇒ Object
35 36 37 38 39 40 41 42 43 44 |
# File 'lib/hydra/listener/cucumber_html_report.rb', line 35 def combine_features wait_for_two_seconds_while_files_are_written Dir.glob(File.join(@results_path, 'features/*.html')).sort.each do |feature| File.open( feature, "rb") do |f| f.each_line do |line| @builder << line end end end end |