Skip to content
This repository was archived by the owner on Oct 16, 2019. It is now read-only.
This repository was archived by the owner on Oct 16, 2019. It is now read-only.

Error when trying to re-run the tests #35

@mpahuja

Description

@mpahuja

This seems to be happening intermittently but in my Rake File I am re-running the failed tests and i see this error message which results in marking a false failure of my jenkins build

C:/Ruby193/lib/ruby/gems/1.9.1/gems/allure-ruby-adaptor-api-0.6.2/lib/allure-ruby-adaptor-api/builder.rb:118:in `build!': undefined method `each' for nil:NilClass (NoMethodError)
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/allure-rspec-0.5.3/lib/allure-rspec/formatter.rb:63:in `stop'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:127:in `block in notify'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:126:in `each'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:126:in `notify'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:122:in `stop'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:106:in `finish'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:60:in `report'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun'

Please note I am use allure-rspec (0.5.3) with Rspec 2.14.1
Snippet from Gemfile.lock

    allure-rspec (0.5.3)
      allure-ruby-adaptor-api (= 0.6.2)
      rspec (~> 2.14.0)
    allure-ruby-adaptor-api (0.6.2)

Can someone please guide me if I am missing something here?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions