Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 488 Bytes

sequence_matters.md

File metadata and controls

14 lines (9 loc) · 488 Bytes

Sequence Matters

The order of your example groups inside your spec file can have a big difference in how quickly your mutations are killed. By default your RSpec tests are run from top to bottom.

Example

Insert example here

Takeaway

  • Put the tests in order that will kill the most mutations first at the top of your describe block.
  • If the killing power of your examples are relatively the same, put the fastest tests at the top to speed up your mutation killing.