Commit graph

16 commits

Author SHA1 Message Date
Markus Schirp
9523c66726 Use 1.9 style hash syntax where possible 2013-09-07 20:27:06 +02:00
Markus Schirp
3224789680 Refactor strategy CLI parsing
* Add CLI::Builder::Rspec
* Remove defunct static stragies
* Add --rspec-level argument
2013-09-02 00:07:55 +02:00
Markus Schirp
f70dc6703f Initial rspec killer with "longes description prefix match" 2013-08-04 18:49:42 +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
d7f9cc0712 Nuke inflexible rspec strategies 2013-07-17 19:47:40 +02:00
Markus Schirp
3d499fe61c Use underscores for unused parameters 2013-06-15 17:15:14 +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
1f25ab3ded Cosmetic end comments 2013-06-14 21:12:10 +02:00
Markus Schirp
3562d4f627 Load spec_helper.rb for rspec strategies 2013-01-18 21:38:46 +01:00
Markus Schirp
151fd08439 Cleanup leaked changes from refactoring 2013-01-14 13:36:26 +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
b5430e2000 Cleanup crashes and invalid mutants 2012-12-07 23:27:21 +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