Commit graph

12 commits

Author SHA1 Message Date
Markus Schirp
034523c6b1 Fix the use of instance doubles globally
[fix #361]
2015-11-15 20:16:42 +00:00
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
22ac0c8d56 Update anima to ~0.3.0 2015-09-04 20:20:56 +00:00
Markus Schirp
e3719c4f7d Add subject filter to matcher config 2015-07-12 22:36:24 +00:00
Markus Schirp
bdf6765a0b Refactor matcher compiler on ignore expressions 2015-07-11 19:51:06 +00:00
Markus Schirp
13ada5e6b9 Rename Matcher::Config#subject_ignores to #ignore_expressions 2015-07-07 21:25:48 +00:00
Markus Schirp
17c0c715b9 Remove unused subject_select matcher config 2015-07-07 21:25:35 +00:00
Markus Schirp
d647563055 Refactor expression parsing and representation
* Avoids boot time mutation of REGISTER constant
* Allows to define project specific expression parsing
* Avoids custom (slow) serialization of Expression objects speeding up
  reporter / killer IPC
* Improve specification
* Improve integration API as it now finally references an object the config
* Allow reproduction of syntax from Expression#syntax
* Allow instantiation of Expresssion objects without generating the
  syntax, much nicer for most specs & internal code, avoids generating
  a string to parse it into an expression
* Fix LSP violation in Mutant::Matcher namespace
2015-06-21 14:44:33 +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
8b2b43919a Add example for complex composition of predicate on matching 2014-07-13 20:02:30 +00:00
Markus Schirp
25e11d87c8 Fix spec code style 2014-07-07 15:07:36 +00:00
Markus Schirp
dbafc31462 Reduce and specify behavior of matcher compiler 2014-07-06 14:31:12 +00:00