Commit graph

21 commits

Author SHA1 Message Date
Dan Kubb
2c6934f146 Change deprecated mock() to double()
* Fix code alignment
2013-07-14 10:01:30 -07:00
Markus Schirp
49133680ee Add AST caching for subject matcher
At least this dramatically speeds up unit tests. And this is a good
thing.
2013-06-27 22:18:07 +02:00
Dan Kubb
84e4add8c2 Fix code alignment in specs 2013-06-25 00:37:45 -07: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
Postmodern
b4108f17ea Use OptionParser (closes #7).
* Supports -h and --help options.
* Rescue OptionParser::ParseErrors and re-raise them as CLI::Errors.
* Moved CLIParser::EXIT_FAILURE, EXIT_SUCCESS and Error into CLI.
* Removed CLIParser.
2013-05-14 18:47:41 -07:00
Markus Schirp
aca87664db Collapse namespace and scope classifier similarities into baseclass 2013-04-21 02:36:21 +02:00
Markus Schirp
15376e6314 Equalize CLI on generated config object 2013-04-20 21:10:14 +02:00
Dan Kubb
c3c0e06c86 Fix whitespace 2013-04-17 20:31:21 -07:00
Markus Schirp
c7fae6dd07 Introduce Mutant::Config objects
This will ease deve
2013-02-24 20:43:15 +01:00
Markus Schirp
71c4a19997 Move CLI parsing specific stuff in subclass
Not ideal, but a first step to improve SRP here.
2013-02-02 16:56:48 +01:00
Markus Schirp
2b01374d3a Add runner objects for config and mutation 2013-02-02 16:32:13 +01:00
Markus Schirp
5b3d506523 Reconnect API changes for successful spec run
Sorry this looks like spiking around and yeah it was some kind of.
2013-01-22 00:00:30 +01:00
Markus Schirp
eeb82ee8c6 Cleanup matcher and classifier interactions
* Some smells remain but it becomes cleaner now
2013-01-21 22:56:52 +01:00
Markus Schirp
d41d7eddb0 Refactor reporter infrastructure 2013-01-15 23:46:05 +01:00
Markus Schirp
bbc91b9457 Reenable some cli parsing specs 2013-01-14 14:13:39 +01:00
Markus Schirp
dffe2a26e6 Add strategy objects 2012-11-22 00:10:50 +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
cd35a6dcc6 Refactor runner and fix integration spec 2012-09-16 00:51:47 +02:00
Markus Schirp
b557a31b6f Update CLI.run to return exit status
* Also add yard docs
2012-08-28 19:43:15 +02:00
Markus Schirp
f972de5066 Update spec to assert presence of reporter
* Using cli reporter as default
2012-08-28 19:19:00 +02:00
Markus Schirp
c211a2e065 Add Mutant::CLI 2012-08-28 18:57:39 +02:00