Commit graph

8 commits

Author SHA1 Message Date
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
d03e7fbdc2 Change integrations to reference config object
* Future changes depend on this one
* Also fixes the smell of "stateless" integration objects we had in the
  past
2015-06-29 18:39:08 +00:00
Markus Schirp
e8a9b6f485 Fix rubocop warnings (that I wish where errors) 2015-06-14 23:56:10 +00:00
Markus Schirp
fac11531a4 Rename Config#matcher_config to #config 2014-12-22 18:27:12 +00:00
Markus Schirp
207c159c23 Always build valid result objects
* Before Mutant::Expression was not marshallable resulting in the need
  to build "partial" result objects from killforks.
* Fixes an adjacent bug in spec selection
2014-12-22 17:54:20 +00:00
Markus Schirp
1332a207f6 Fix spelling of local variable names 2014-12-22 16:18:29 +00:00
Markus Schirp
c6299604af Factor out test selection into Mutant::Selector objects
* Overall easier to test
* Reduces the need to pass around config to subjects
* Reduces the diff to tracing branch
2014-12-22 16:02:04 +00:00
Markus Schirp
b65939d527 Move bootstrapping into Env::Bootstrap
* Do not mix concerns of domain with building an object graph concerning
  the domains execution environment
* Removes the amount of clutter in Env (mostly a cleanup for tracing
  where Env will grow a bit)
2014-12-22 15:12:30 +00:00