serpapi / turbo_tests

Run RSpec tests on multiple cores. Like parallel_tests but with incremental summarized output. Originally extracted from the Discourse and Rubygems source code.
https://rubygems.org/gems/turbo_tests
MIT License
173 stars 25 forks source link

Fix reporting of pending exceptions #15

Closed ilyazub closed 3 years ago

ilyazub commented 3 years ago

Fixes https://github.com/serpapi/turbo_tests/issues/6.

Probably it's time to remove FakeExample, FakeExecutionResult and use RSpec::Core::Example, RSpec::Core::Example::ExecutionResult and so on. Fake structures were copied from Discourse source code.

Thanks to @louim for the reproducible example and an attempt to fix it. Feel free to review this PR.

wwahammy commented 3 years ago

This fixed the NoMethodError for me.