Sha256: 33775771e9bff5746b6c1564df02a79f1d6822b36a472006270b5534a781644d

Contents?: true

Size: 924 Bytes

Versions: 6

Compression:

Stored size: 924 Bytes

Contents

Feature: --order (new in rspec-core-2.8)

  Use the `--order` option to tell RSpec how to order the files, groups, and
  examples. Options are `defined` and `rand`.

  `defined` is the default, which executes groups and examples in the
  order they are defined as the spec files are loaded.

  Use `rand` to randomize the order of files, groups within files, and
  examples within groups.*

  * Nested groups are always run from top-level to bottom-level in order to avoid
    executing `before(:all)` and `after(:all)` hooks more than once, but the order
    of groups at each level is randomized.

  You can also specify a seed

  <h3>Examples</h3>

      --order defined
      --order rand
      --order rand:123
      --seed 123 # same as --order rand:123

  The `defined` option is only necessary when you have `--order rand` stored in a
  config file (e.g. `.rspec`) and you want to override it from the command line.

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rspec-core-2.99.2 features/command_line/order.feature
rspec-core-2.99.1 features/command_line/order.feature
rspec-core-2.99.0 features/command_line/order.feature
rspec-core-2.99.0.rc1 features/command_line/order.feature
rspec-core-2.99.0.beta2 features/command_line/order.feature
rspec-core-2.99.0.beta1 features/command_line/order.feature