Merge branch 'master' of github.com:mbj/mutant

This commit is contained in:
Markus Schirp 2013-01-24 20:52:04 +01:00
commit b24cc9cd76
2 changed files with 12 additions and 1 deletions

View file

@ -68,6 +68,17 @@ Private instance methods: spec/unit/#{namespace}/#{class_name}/*_spec.rb
Private singleton methods: spec/unit/#{namespace}/#{class_name}/class_methods/*_spec.rb
```
#### Expansions:
Symbolic operator like method are expanded. So for example ```Foo#<<``` is expanded to:
```
spec/unit/foo/left_shift_operator_spec.rb
````
The full list of expansion can be found here:
https://github.com/mbj/mutant/blob/master/lib/mutant/constants.rb
### --rspec-unit
This strategy executes all specs under ``./spec/unit`` for each mutation.

View file

@ -270,7 +270,7 @@ module Mutant
# @api private
#
def print_killer(color, word, killer)
puts(colorize(color, "#{word}: #{killer.identification} (%02.2fs)" % killer.runtime))
puts(colorize(color, "%s: %s (%02.2fs)" % [word, killer.identification, killer.runtime]))
end
# Test for output to tty