exe/generic_test in generic_test-0.2.0 vs exe/generic_test in generic_test-0.2.1
- old
+ new
@@ -14,10 +14,10 @@
raise "no file at #{test_file_path}" unless File.exist? test_file_path
desc = ENV['PAGE_URL'].split('://').last.tr('/', '_')
junit_format = "-f RspecJunitFormatter --out logs/page_#{desc}.xml"
ENV['REPORT_PATH'] = "reports/#{desc}"
- html_format = '--require generic_test/html_reporter -f RspecHtmlReporter'
+ html_format = '--format html --out report.html'
command = "rspec #{test_file_path} --format documentation --color #{junit_format} #{html_format}"
raise $CHILD_STATUS.to_s unless system command
end
desc 'version', 'Version of generic_test'