1
0
Fork 0
Commit graph

13 commits

Author SHA1 Message Date
Markus Schirp
8233c5871f Reduce matcher interface
* New primary interface #call makes specs and implementations much
  easier
* We had #each mostly for historical reasons that are not relevant
  anymore
* Mutation covers the Mutant::Matcher namespace
2015-10-28 20:13:00 +00:00
Markus Schirp
6df5811a87 Use RSpec as receiver for rspec DSL methods
* I dislike the global infection RSpec does. This commit is a first step
  to get a rid of it.
* Also remove the need for `require 'spec_helper` in each spec file with
  adjusting `.rspec`.
2014-08-10 21:04:07 +00:00
Markus Schirp
8f1b72fb3a Add specification for null matcher 2014-07-06 14:34:32 +00:00
Markus Schirp
de6509c785 Reduce public interface of chain matcher 2014-07-06 14:32:36 +00:00
Markus Schirp
dbafc31462 Reduce and specify behavior of matcher compiler 2014-07-06 14:31:12 +00:00
Markus Schirp
919fd64d5f Add specification for filter matcher 2014-07-06 03:19:21 +00:00
Markus Schirp
aa96b1d978 Add specification of chain matcher .build 2014-07-06 03:16:17 +00:00
Markus Schirp
eb603789f4 Fix style issues 2014-06-14 14:28:54 +00:00
Markus Schirp
a19f3b1691 Nuke UTF-8 encoding headers
* I do not use 1.9.3
* Also keeping them in each file increases mental overhead (true it *can* be autoamted)
* None of the files encodes NON ASCII chars.
* I do not expect it makes any difference, since nobody programmatically
  will consume strings generated by mutant under the assumption they are UTF-8 encoded.
* 1.9.3 Users have to deal with the encoding fuckup under ruby anyways.
2014-06-09 15:37:48 +00:00
Markus Schirp
822ddd799f Make non mri specific specs pass under RBX 2014-06-08 19:51:04 +00:00
Markus Schirp
399f352328 Consistently use expect syntax 2014-02-02 22:49:33 +01:00
Markus Schirp
49c71dcf75 Whitespace 2013-12-29 23:32:32 +01:00
Markus Schirp
9edb375ef3 Use more modern spec layout
* This specs still have spec per method granularity
* But one file specs multiple methods
* Compatible with mutant spec selector
* Deduplicates boilerplate unit setup
2013-12-29 23:29:58 +01:00