mpahuja
mpahuja
@smecsia ``` ruby def generate_report puts "Generating report" report = "./log/screenshots -o ./log/reports" system("allure generate #{report}") end def launch(params = {}) if params[:test_options].include? '-e' count = params[:test_options].split(/failed/).count - 1 end...
``` ruby def stop(notify) AllureRubyAdaptorApi::Builder.build! end ``` Looks like this code fails after the first run of all the tests. Is it possible that its a timing issue for me?
One more thing to add here in case it wasnt clear from the Rake File that I am running the tests in parallel using parallel_tests
Here is the code for the failure_formatters: ``` ruby require 'rspec/core/formatters/base_formatter' class FailureCatcher < RSpec::Core::Formatters::BaseFormatter # create files called rspec_#.failures with a list of failed examples def dump_failures return if...
So couple of issues in the above repo, you need to do a bundle install and also the generate_report method contains --report-path which did not work for me but changing...
@smecsia Just to add some more debugging information, I am using 0.5.3 version as I am still using RSpec 2. I noticed that you are using super in the stop...
I am currently working on upgrading to RSpec 3. I will share my findings as soon as possible!
@smecsia FYI, i just upgraded to RSpec 3 and the issue is still happening. How can I help to get this fixed?
@vania-pooh @smecsia Here is a repo that I created to be able to consistently reproduce the issue: https://github.com/mpahuja/allure-rerun-fails There are instructions on the repo on how to use it! Just...
Sorry I somehow missed one folder, please pull latest! @smecsia