Commit graph

32 commits

Author SHA1 Message Date
Markus Schirp
53fa6f447b Fix reports and calculate tests once per subject 2014-05-23 01:03:09 +00:00
Markus Schirp
89b3487fe1 Remove unused private method 2014-05-11 15:19:36 +00:00
Markus Schirp
6c46707009 Fix YARD docs 2014-05-11 14:57:33 +00:00
Markus Schirp
93827f1fea Remove orphaned null killer 2014-05-11 14:43:37 +00:00
Markus Schirp
163853874e Bring back test isolation 2014-05-09 23:17:18 +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
ad82b0fc4f Remove CLI::Builder registry 2014-01-18 00:15:42 +01:00
Markus Schirp
f132f355b4 Remove unused killer time measurement
Time gets mesured at runner level. Will introuce the use Benchmark.times there.
2013-09-07 20:17:57 +02:00
Markus Schirp
f70dc6703f Initial rspec killer with "longes description prefix match" 2013-08-04 18:49:42 +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
745eb0c703 Fix style in Mutant::Killer 2013-07-29 00:25:15 +02:00
Dan Kubb
8447cd4790 Change Mutant::Killer#run_with_benchmark to use Benchmark.measure
* Use the real time temporarily to be consistent with the other
  places in the code that measure time. When those other areas can
  be wrapped in a Benchmark.measure block all the benchmarks will be
  updated to use cpu time, not real (elapsed) time like now.
2013-06-24 01:55:00 -07: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
277a29aba5 Cleanup killers 2013-02-01 23:39:00 +01:00
Markus Schirp
d41d7eddb0 Refactor reporter infrastructure 2013-01-15 23:46:05 +01:00
Markus Schirp
fce6d5c06e Metric diven cleanups and break large classes
* Formal argument mutations are still very dirty :(
2012-12-29 20:12:48 +01:00
Markus Schirp
3fc07deaff Make sure mutation is inserted after fork 2012-12-07 18:53:03 +01:00
Markus Schirp
fa36323fcd Improve reporting to show only uncovered mutations 2012-12-07 17:14:18 +01:00
Markus Schirp
98d5b6562c Use abstract_type gem from rubygems 2012-11-26 11:30:00 +01:00
Markus Schirp
dffe2a26e6 Add strategy objects 2012-11-22 00:10:50 +01:00
Markus Schirp
02a909efda Generalize forking and non forking killers 2012-11-21 22:55:53 +01:00
Markus Schirp
dc083547f5 Connect cli with runner.
Only supports the testing of testapp... but time will come!
2012-11-21 22:28:08 +01:00
Markus Schirp
637ea8a849 Use Adamantium::Flat from mbj/adamantium at configurable-freezers branch 2012-11-03 02:12:33 +01:00
Markus Schirp
ccbe2f6396 Mark failing specs as panding and use attr_reader again 2012-10-26 11:24:29 +02:00
Markus Schirp
7ecf828768 User adamantium (former immutable) 2012-10-15 14:36:19 +02:00
Markus Schirp
3de69d832d Add cli stuff
* Currently broken (sorry) but do have to push to fix some nasty
  transitive dependency stuff (do not ask).
* Fix fix it tomorrow (hopefully I find the time)
2012-09-11 01:01:06 +02:00
Markus Schirp
459d028de1 Add a working mutation tester for mutant
* Expand attr_reader :name, to def name; @name; end
  As attr_reader defined methods do not have a valid source location.
* Expose more internal state to allow the generation of nice match
  identifications. Needs to be cleaned up.
2012-08-20 17:53:41 +02:00
Markus Schirp
aaa96183b9 Bring back yard coverage to 100% 2012-08-16 19:26:15 +02:00
Markus Schirp
42e6fe84e5 Add runner with reporter
* Use MethodObject mixin
* Rename Context::Constant to Context::Scope
* Use Mutation class instead of passing around raw nodes
2012-08-16 04:10:54 +02:00
Markus Schirp
d20655f4c2 Add a spike runner 2012-08-14 22:45:34 +02:00
Markus Schirp
23ee68ac1e Rename Runner to Killer
* Add working integration spec for rspec (mutant) killer.
2012-08-14 12:27:56 +02:00
Renamed from lib/mutant/runner.rb (Browse further)