Sha256: 2afb8d995a2677b3cd03ba63c6eda9a46d3b490d011508bc2b5bb73442861f74

Contents?: true

Size: 653 Bytes

Versions: 12

Compression:

Stored size: 653 Bytes

Contents

Sometimes you will have a failing example that can not be fixed, but is useful to keep around. For instance, the fix could depend on an upstream patch being merged, or the example is not supported on JRuby. RSpec provides two features for dealing with this scenario.

An example can either be marked as _skipped_, in which is it not executed, or _pending_ in which it is executed but failure will not cause a failure of the entire suite. When a pending example passes (i.e. the underlying reasons for it being marked pending is no longer present) it will be marked as failed in order to communicate to you that it should no longer be marked as pending.

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
opal-rspec-1.1.0.alpha3 rspec-core/upstream/features/pending_and_skipped_examples/README.md
opal-rspec-1.1.0.alpha2 rspec-core/upstream/features/pending_and_skipped_examples/README.md
opal-rspec-1.1.0.alpha1 rspec-core/upstream/features/pending_and_skipped_examples/README.md
opal-rspec-1.0.0 rspec-core/upstream/features/pending_and_skipped_examples/README.md
opal-rspec-1.0.0.alpha1 rspec-core/upstream/features/pending_and_skipped_examples/README.md
opal-rspec-0.8.0 rspec-core/upstream/features/pending_and_skipped_examples/README.md
opal-rspec-0.8.0.alpha3 rspec-core/upstream/features/pending_and_skipped_examples/README.md
opal-rspec-0.8.0.alpha2 rspec-core/upstream/features/pending_and_skipped_examples/README.md
opal-rspec-0.8.0.alpha1 rspec-core/upstream/features/pending_and_skipped_examples/README.md
opal-rspec-0.7.1 rspec-core/upstream/features/pending_and_skipped_examples/README.md
opal-rspec-0.7.0 rspec-core/upstream/features/pending_and_skipped_examples/README.md
opal-rspec-0.7.0.rc.2 rspec-core/upstream/features/pending_and_skipped_examples/README.md