Markus Schirp
84ba59664f
Prefer frozen constant over mutable literal
2014-05-29 20:27:13 +00:00
Markus Schirp
5f6ff99ece
Consolidate ruby style
2014-05-27 15:16:37 +00:00
Markus Schirp
53fa6f447b
Fix reports and calculate tests once per subject
2014-05-23 01:03:09 +00:00
Markus Schirp
a618d82fb1
Push down test selection and add framework for output capture
...
This clearly is a WIP. We know have the reporter granularity to capture
per mutation test outputs + per mutation test selections.
This adds all infrastructure to address:
* #185 we know which tests are run in reporter
* #180 fine grained information available for the reporter
* #178 minitest project integration only needs to return an enumerable
with metadata
* #174 We can now "see" all test, allowing to generate a default
matcher.
* #158 Ability to steer test selection centralized for all integrations
* #125 We have the required objects in graph
* #96 We have finer granularity in reporter graph
Because we know signal more complex state from killforks to parent I
need to bring back killfork partent signalling, but this time with
sending complex data around (Test::Report). Should be easy with
Marshal.{dump,load} but my OSS time budget is exhausted for now.
2014-04-28 19:17:29 +00:00
Markus Schirp
1b0ed70ba4
Cleanup CLI implementation a bit.
2014-01-18 00:25:20 +01:00
Markus Schirp
ad82b0fc4f
Remove CLI::Builder registry
2014-01-18 00:15:42 +01:00
Markus Schirp
f2f097e5e9
Return self on noop command methods
2013-09-02 22:02:51 +02:00
Markus Schirp
37f0ed29b7
Merge branch 'master' into flexible-rspec
...
Conflicts:
lib/mutant/strategy/method_expansion.rb
lib/mutant/strategy/rspec/dm2.rb
lib/mutant/strategy/rspec/dm2/lookup.rb
lib/mutant/strategy/rspec/dm2/lookup/method.rb
spec/unit/mutant/strategy/method_expansion/class_methods/run_spec.rb
spec/unit/mutant/strategy/rspec/dm2/lookup/method/instance/spec_files_spec.rb
spec/unit/mutant/strategy/rspec/dm2/lookup/method/singleton/spec_files_spec.rb
2013-08-02 00:28:15 +02:00
Dan Kubb
7293386c26
Add magic encoding header to all ruby files
...
* rubocop still warns about this on ruby 1.9.3, so it was fixed so
it produces less output on travis.
2013-07-28 16:03:06 -07:00
Markus Schirp
d358324450
Instantiate strategies
...
Doing that stuff on singletons is wired. Future strategies will have a
state.
2013-07-17 19:59:44 +02:00
Markus Schirp
7ae6e09908
Fix object cycle
...
Strategy currently does not need to be initialized with config.
2013-06-15 16:32:40 +02:00
Markus Schirp
d1aed52877
Remove more duplication with concord
2013-06-15 01:29:44 +02:00
Markus Schirp
1f25ab3ded
Cosmetic end comments
2013-06-14 21:12:10 +02:00
Dan Kubb
c3c0e06c86
Fix whitespace
2013-04-17 20:31:21 -07:00
Markus Schirp
d41d7eddb0
Refactor reporter infrastructure
2013-01-15 23:46:05 +01:00
Markus Schirp
eb6ea9a74f
Metric driven code refactoring
...
Break some classes, rename stuff etc.
2013-01-04 22:16:03 +01:00
Markus Schirp
93556763dd
Bring back yard coverage to 100%
...
Also do some minor refactorings
2012-12-12 22:31:27 +01:00
Markus Schirp
40d5230c68
Introduce noop mutation guards and argument mutators
...
* Sorry for not splitting up into smaller commit
2012-12-11 00:17:19 +01:00
Markus Schirp
7be00708b6
Improve rspec dm2 strategy
...
* Expand foo? to foo_predicate_spec.rb
* Expand foo! to foo_bang_spec.rb
* Execute all public method specs on mutation of private method
* Warn on stderr when no spec file was found (better than nothing to be
iproved later)
2012-12-07 16:57:42 +01:00
Markus Schirp
9533a92bb7
Default to forking killer
...
* Remove rspec world preserving will never work correctly
* Add new unmutated nodes to noop mutators
2012-12-04 19:38:58 +01:00
Markus Schirp
5d1124fe18
Reset rspec when preparing preserved world
2012-12-04 18:30:39 +01:00
Markus Schirp
8c3cc4a18c
Add rspec world preserve hack
2012-12-04 18:23:56 +01:00
Markus Schirp
98d5b6562c
Use abstract_type gem from rubygems
2012-11-26 11:30:00 +01:00
Markus Schirp
fb8bb2ed24
Add static fail and success strategies
...
* Useful for benchmarking
2012-11-22 03:00:36 +01:00
Markus Schirp
6c8d519ec5
Remove debug print
2012-11-22 02:51:30 +01:00
Markus Schirp
e5da3cab09
Do not construct forking killer in strategies per default
2012-11-22 02:08:42 +01:00
Markus Schirp
86acb3a409
Cleanup killers and add executable to gemspec
2012-11-22 01:42:10 +01:00
Markus Schirp
707163f263
Add full rspec strategy
2012-11-22 00:14:13 +01:00
Markus Schirp
dffe2a26e6
Add strategy objects
2012-11-22 00:10:50 +01:00