Sha256: 75497b6db27a40c668a9487f27fadae75465f69dbf97e090d8b141f6b4f1f169

Contents?: true

Size: 914 Bytes

Versions: 7

Compression:

Stored size: 914 Bytes

Contents

# delay methods defined for async testing cause this to fail
RSpec::Core::ExampleGroup minimizes the number of methods that users could inadvertantly overwrite

# Invokes RSpec::Core::ExampleGroup#run directly, so of course it gets a promise back rather than false
# see opal alternates
RSpec::Core::ExampleGroup#before, after, and around hooks treats an error in before.* as a failure
RSpec::Core::ExampleGroup#run_examples returns false if any of the examples fail
RSpec::Core::ExampleGroup#run_examples runs all examples, regardless of any of them failing

# Run return value is a promise, so we put our own spec in alternates
RSpec::Core::ExampleGroup#run with fail_fast\? => true sets RSpec.world.wants_to_quit flag if encountering an exception in before\(:all\)
RSpec::Core::ExampleGroup#run with nested example failing returns true
RSpec::Core::ExampleGroup#run with top level example failing returns false

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
opal-rspec-0.6.2 spec/rspec/core/filter/core/async/example_group.txt
opal-rspec-0.6.1 spec/rspec/core/filter/core/async/example_group.txt
opal-rspec-0.6.0 spec/rspec/core/filter/core/async/example_group.txt
opal-rspec-0.6.0.beta1 spec/rspec/core/filter/core/async/example_group.txt
opal-connect-rspec-0.5.0 spec/rspec/core/filter/core/async/example_group.txt
opal-rspec-0.5.0 spec/rspec/core/filter/core/async/example_group.txt
opal-rspec-0.5.0.beta3 spec/rspec/core/filter/core/async/example_group.txt