From 4f7195a9c20b1980232a227ce900f82d536bee14 Mon Sep 17 00:00:00 2001 From: Markus Schirp Date: Mon, 5 Aug 2013 01:17:14 +0200 Subject: [PATCH] Add note about backwards compatiblity --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bf652421..98c7c4e5 100644 --- a/README.md +++ b/README.md @@ -105,12 +105,15 @@ Test-Selection Mutation testing is slow. The key to making it fast is selecting the correct set of tests to run. Mutant currently supports the following built-in strategy for selecting tests/specs: -Mutant uses the longest rspec example group descriptions match to select the tests to run. +Mutant uses the "longest rspec example group descriptions prefix match" to select the tests to run. Example for a subject like `Foo::Bar#baz` it will run all example groups with description prefixes in `Foo::Bar#baz`, `Foo::Bar` and `Foo`. The order is important, so if mutant finds example groups in the current prefix level, these example groups *must* kill the mutation. +This test selection strategy is compatible with the old `--rspec-dm2` and `--rspec-unit` strategy. +It allows to define very fine grained specs, or coarse grained - as you like. + Alternatives ------------