Commit graph

11 commits

Author SHA1 Message Date
Anton Davydov
e9d5dfa9af Fix all typos [skip ci] 2015-07-06 21:36:39 +03: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
c7113f7e82 Add specification for Mutant::Expression#prefix? 2015-06-21 14:44:07 +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
2ce02af8aa Fix style 2014-12-22 01:32:51 +00:00
Markus Schirp
facafd201a Fix line-length problems 2014-08-10 23:30:31 +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
Tim Chambers
2bfaa28cfe Correct another misspelled "ambiguous" 2014-08-07 09:52:39 -07:00
Tim Chambers
fe72c94b94 Fix miscellaneous typos
Mostly in comments and documentation, but one method name was corrected to match documentation.
2014-08-07 09:00:31 -07:00
Markus Schirp
e8f09b988d Fix Mutant::Expression#inspect to be more usable 2014-07-12 16:18:01 +00:00
Markus Schirp
829e48a7b5 Use dedicated exceptions for expression parsing failure scenarios 2014-07-06 02:34:01 +00:00