Commit graph

33 commits

Author SHA1 Message Date
Markus Schirp
8769c4b7c9 Use communicative variable name 2013-05-15 10:35:13 +02:00
Markus Schirp
523edc2ab1 Use whitespace after comma 2013-05-15 10:25:33 +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
728f8700e1 Fix some zombie issues and prevent devtools mutant rake task 2013-04-21 02:55:09 +02:00
Markus Schirp
15376e6314 Equalize CLI on generated config object 2013-04-20 21:10:14 +02:00
Markus Schirp
af9dfc5a16 Use word operator for control flow 2013-04-20 20:55:37 +02:00
Dan Kubb
c00d39d855 Fix cli matchers to only include actual matcher objects 2013-04-17 20:34:24 -07: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
7dfb785ed3 Test for success and not for fail 2013-01-21 23:53:25 +01:00
Markus Schirp
a3fc233d95 Reorganize classifiers
* Classifiers are matcher subclass and delegate to lazy builded matcher
  interfaces
* Solves chicken egg problem between target library load and classifier
  matcher instantiation
2013-01-21 20:08:30 +01:00
Markus Schirp
22adfb9f60 Remove -I/--include and -r/--require cli options 2013-01-20 20:24:08 +01:00
Markus Schirp
bbc91b9457 Reenable some cli parsing specs 2013-01-14 14:13:39 +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
ba13408afa Report to stdout per default 2012-12-07 19:10:12 +01:00
Markus Schirp
297e313b41 Do not deep freeze options, so we do not deep freeze classes 2012-11-24 22:41:14 +01:00
Markus Schirp
fb8bb2ed24 Add static fail and success strategies
* Useful for benchmarking
2012-11-22 03:00:36 +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
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
74b704b220 Minor style fixes 2012-10-26 13:12:42 +02: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
cd35a6dcc6 Refactor runner and fix integration spec 2012-09-16 00:51:47 +02:00
Markus Schirp
143acd1ca6 Fix CLI to use forking rspec killer 2012-08-28 19:44:59 +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
e085e92e1c Default to forking rspec killer
* Also update library require statements
2012-08-28 19:15:10 +02:00
Markus Schirp
c211a2e065 Add Mutant::CLI 2012-08-28 18:57:39 +02:00