Commit graph

35 commits

Author SHA1 Message Date
Markus Schirp
a19f3b1691 Nuke UTF-8 encoding headers
* I do not use 1.9.3
* Also keeping them in each file increases mental overhead (true it *can* be autoamted)
* None of the files encodes NON ASCII chars.
* I do not expect it makes any difference, since nobody programmatically
  will consume strings generated by mutant under the assumption they are UTF-8 encoded.
* 1.9.3 Users have to deal with the encoding fuckup under ruby anyways.
2014-06-09 15:37:48 +00:00
Markus Schirp
0f101bc1de Add short circuts for evil mutations 2014-05-27 16:43:16 +00:00
Markus Schirp
426fa367aa Whitespace 2014-05-23 02:58:02 +00:00
Markus Schirp
c1b389c28f Use visit_collection in runner to restore --fail-fast behavior 2014-05-23 01:35:37 +00:00
Markus Schirp
53fa6f447b Fix reports and calculate tests once per subject 2014-05-23 01:03:09 +00:00
Markus Schirp
c5f7fd7209 Split reporting into progress and report 2014-05-12 13:48:15 +00:00
Markus Schirp
2e5a13e704 Add specs for Runner::Mutation#success? 2014-05-11 15:42:08 +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
a432311862 Use Float#== to in rspec expectations
* This fixes 1.9.3 and does IMO not lower the accurancy in specs.
2014-03-08 17:34:44 +00:00
Markus Schirp
1dbe51f449 Add coverage for Mutant::Runner::Config#coverage 2014-03-07 13:03:42 +00:00
Markus Schirp
0fe8acc0ad Use morpher predicates for filtering
* Removes Mutant::Predicate
* Simplifies CLI builder logic
* More to come
2014-02-02 22:49:33 +01:00
Markus Schirp
8485dc313c Allow configurable coverage expectation 2014-01-19 00:07:10 +01:00
Markus Schirp
9edb375ef3 Use more modern spec layout
* This specs still have spec per method granularity
* But one file specs multiple methods
* Compatible with mutant spec selector
* Deduplicates boilerplate unit setup
2013-12-29 23:29:58 +01:00
Tim Chambers
0c97663898 Typo in context
Change earily to early
2013-10-28 09:39:41 -04:00
Markus Schirp
f1b4dc2c2f Use 1.9 hash syntax also for specs 2013-09-08 22:12:23 +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
46f90aa328 Fix all style warnings under spec/**/*.rb 2013-07-29 00:25:15 +02:00
Dan Kubb
ee72d6c042 Fix rubocop warnings
* Still a few more to go, but this should be the majority of them
2013-07-28 12:16:45 -07:00
Markus Schirp
8a6a51fd08 Add support for --fail-fast flag
* Some long planned runner design changes.
* It now also uses the emitter pattern
2013-07-15 01:17:15 +02:00
Markus Schirp
3c753c9dad Pass correct config object to runner tree 2013-07-14 19:11:55 +02:00
Dan Kubb
2c6934f146 Change deprecated mock() to double()
* Fix code alignment
2013-07-14 10:01:30 -07:00
Dan Kubb
9eab4a1bbd Fix whitespace 2013-06-22 23:24:48 -07:00
Markus Schirp
e41409cf87 Use concord ~> 0.1.1 2013-06-14 21:11:08 +02:00
Markus Schirp
f2a6243ac0 Connect reporters with runners
This fixes all unit and integration specs!
2013-04-21 02:20:18 +02:00
Markus Schirp
528cfd7654 Use new reporter interface in runner 2013-04-20 20:50:36 +02:00
Dan Kubb
92cb508c6e Fix code to no longer reference a non-existant method in subject 2013-04-17 20:34:24 -07:00
Markus Schirp
439b914d14 Add some runner predicate tests 2013-04-12 23:34:55 +02:00
Markus Schirp
21fdb99801 Fix runner infastructure 2013-04-12 23:34:54 +02:00
Markus Schirp
e90da31d38 Use releases of anima and concord 2013-04-12 23:34:54 +02:00
Markus Schirp
2b01374d3a Add runner objects for config and mutation 2013-02-02 16:32:13 +01:00
Markus Schirp
732ece42c3 Spec Runner::Subject#mutations in dm2 style 2013-02-02 01:00:05 +01:00
Markus Schirp
2b6470f223 Add Mutant::Runner::Subject
The idea is to break up the big fat and ugly Runner class into dedicated
pices with a single reponsibility.
2013-02-01 23:06:07 +01:00
Markus Schirp
23ee68ac1e Rename Runner to Killer
* Add working integration spec for rspec (mutant) killer.
2012-08-14 12:27:56 +02:00
Markus Schirp
fda5d716a4 Add initial rspec2 runner
* Needs integration spec!
2012-08-09 19:46:20 +02:00
Markus Schirp
b6de7fad91 Add abstract (test) runner 2012-08-01 19:05:34 +02:00