Commit graph

26 commits

Author SHA1 Message Date
Markus Schirp
9ab35de2c4 Reduce direct reference of globals 2015-11-21 22:02:51 +00:00
Markus Schirp
b7fdf846bc Remove redundant @api private YARD docs 2015-11-15 23:13:43 +00:00
Markus Schirp
84eec1eef3 Fix ordering of attributes
* Unless there is a good reason against these should be alphabetic
2015-11-15 20:13:48 +00:00
Markus Schirp
3cea008fcd Fix Matcher env arguments
* Due historical reasons Env#warn also existed and in specs we actually
  passed an Env object where runtime passes Env::Boostrap objects.
* Fix documentation for runtime type
* Fix specs to pass in the runtime type
* Remove now unused Env#warn
2015-11-16 01:07:31 +00:00
Markus Schirp
66643789c8 Refactor Mutant::Cache into Mutant::Parser 2015-11-13 04:47:47 +00:00
Markus Schirp
22ac0c8d56 Update anima to ~0.3.0 2015-09-04 20:20:56 +00:00
Markus Schirp
4bd15abeb6 Fix positioning of @api YARD tag 2015-07-02 03:35:54 +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
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
50dd4f2ad5 Rename Env#kill_mutation to #kill
* Reduces diff to tracing
2014-12-22 16:21:53 +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
Markus Schirp
2ce02af8aa Fix style 2014-12-22 01:32:51 +00:00
Markus Schirp
801500510e Move parallel into internal library 2014-12-12 20:54:25 +00:00
Markus Schirp
e08d3b6b80 Use actor based parallelization 2014-11-30 23:11:01 +00:00
Markus Schirp
14e95080ed Add specs for warning behavior on Class#name violations 2014-11-17 21:03:40 +00:00
Markus Schirp
4f24280efe Reduce public interface ov Mutant::Env 2014-11-17 20:46:42 +00:00
Markus Schirp
c7de9a24fb Prefer Object#is_a? over #kind_of? 2014-10-08 11:49:48 +00:00
Markus Schirp
73bd2013aa Generate mutations in env 2014-07-14 15:01:06 +00:00
Dan Kubb
e321d7a00d Fix spelling mistakes 2014-07-10 15:56:01 -07:00
Markus Schirp
2070c8d9d2 Fix whitespace 2014-07-07 19:54:28 +00:00
Markus Schirp
a53a4d2d67 Add a spec for matching methods without source location 2014-07-06 03:00:21 +00:00
Markus Schirp
41d9700473 Refactor runer infrastructure
* Nuke around 800 lock
* Honor LSP with not anymore squeezing something non LSP compatible in
  the same inheritance tree.
* Separate running from result tree.
* Clean up kill logic and early exits on already dead mutations.
* Fix #runnin? smell for reporters.
* Decouple config object from VM state. Makes it serializable to enable
  config loading.
* Fix sequence of global VM events to match PRIOR rspec infects VM with
  gazillions of classes / modules. Thix fixes a startup speed
  degeneration.
* Various fixes to enhance determinism.
* Replace some unneded manual double dispatch with single manual dispatch for
  reporter / runners.
2014-07-05 23:04:38 +00:00
Markus Schirp
efa12158d1 Avoid multiple enumeration of object space 2014-07-02 17:47:51 +00:00
Markus Schirp
d63f3d68bd Write warnings from matchers through reporter 2014-06-30 13:19:47 +00:00
Markus Schirp
3390abc675 Use environment object inside matchers
This will allow to use reporters from matchers avoiding stupid direct
writes to $stderr.

Also it will allow to remove matching from CLI altogether in a phase of
the runner. Allowing to decouple Mutant::Config from VM environment
allowing to serialize it ;)

Step by step. Takes a while.
2014-06-30 13:08:52 +00:00