rspec-core icon indicating copy to clipboard operation
rspec-core copied to clipboard

RSpec runner and formatters

Results 75 rspec-core issues
Sort by recently updated
recently updated
newest added

Related to https://github.com/rspec/rspec-core/issues/2119#issuecomment-2105371152 ## What is the change? The out of the box behaviour has **not** changed, but a new configuration option has been added ✨ ``` config.use_line_number_for_failed_spec_location_rerun ``` The...

When RSpec outputs index format (`rspec ./test_spec[1:1]`) it is not parseable by humans or non-rspec computers. This affects things like vim plugins that automatically jump you to the failing test....

Feature

## Summary Combine `rspec-core`, `rspec-mocks`, `rspec-expectations`, `rspec-support`, `rspec-dev` (which would be mostly deprecated with this proposal), the `rspec` meta-gem, and possible `rspec-rails` into a single repository. ## Motivation Making cross-cutting...

### doc_string which is the first argument of example, must be string object RSpec example recognize the first argument as the description. But when even symbol or hash object which...

Related issue: #3072 To keep the first argument a string object, it raises ArgumentError when non string object were given as doc_string. ``` ArgumentError: `:pending` is not acceptable for doc_string....

### Subject of the issue It would be fine to have numbered list of specs, like wew have them numbered in a detailed view, but then, in the bottom, we...

I don't have time right now to write Cucumber specs, but at least with this, the docs will acknowledge the existence of this CLI option.

Preparing for upcoming new specification mentioned #3072 , added deprecated warning when example doc string is not a string object ### What is changed When execute rspec below ```ruby context...

As requested on issue [#3066](https://github.com/rspec/rspec-core/issues/3066), this work adds the CLI option filter `--only-pending`. This is similar to `--only-failures`. If `example_status_persistence_file_path` is not configured, it will fail with a message. If...

### Add `--only-pending` CLI option filter The `--only-failures` CLI option is very helpful. It looks in the examples.txt file for tests that failed and only runs those. Having the option...