Markus Schirp
5f6ff99ece
Consolidate ruby style
2014-05-27 15:16:37 +00: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
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
Dan Kubb
2c6934f146
Change deprecated mock() to double()
...
* Fix code alignment
2013-07-14 10:01:30 -07:00
Markus Schirp
47bca3fa1f
Correct mutation of adamantium memoized methods
2013-07-05 01:14:05 +02: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
Dan Kubb
9eab4a1bbd
Fix whitespace
2013-06-22 23:24:48 -07:00
Markus Schirp
fca5b8a168
Port method extraction to parser based ast
2013-06-14 21:11:54 +02:00
Markus Schirp
ecb5be355f
Add unit spec for singleton method matchers
...
Also remove old method integration spec
2013-04-27 18:07:04 +02:00
Markus Schirp
d040864e93
Refactor method matcher
...
And add proper unit specs
2013-04-27 17:45:22 +02: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
b5430e2000
Cleanup crashes and invalid mutants
2012-12-07 23:27:21 +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
565058f566
Correctly implement and specify singleton method extraction
2012-08-29 13:32:44 +02:00
Markus Schirp
789dac96ac
Handle explicit toplevel scope in method match classifier
2012-08-29 12:50:40 +02:00
Markus Schirp
f24b190a2a
Add specs for Mutant::Matcher::Method::Instance.each(scope)
2012-08-28 20:07:55 +02:00
Markus Schirp
46c9213991
Add Mutant::Matcher.{parse,from_string}
...
These are used in CLI to create maters from strings
2012-08-28 19:54:28 +02:00
Markus Schirp
d6165b3525
Remove sample subjects
2012-08-16 22:49:47 +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
Markus Schirp
c9219b1f1e
Add source_path to context state
2012-08-14 12:26:56 +02:00
Markus Schirp
5e7600e573
Refactor spec on method filter parsing
2012-08-09 19:38:36 +02:00
Markus Schirp
8810c6e009
Rename Mutantee to Subject
2012-08-01 18:34:03 +02:00
Markus Schirp
d50ecc483d
Cleanup missing whitespace after comma
...
* There must be a code metric tool helping me in converting my style.
2012-07-31 04:10:37 +02:00
Markus Schirp
10c3dfc390
Finalize method matching
...
* Add tests for all edge cases I could create
* Add infrastructure for loading mutations into the vm.
* The fun part is next!
2012-07-26 19:25:23 +02:00
Markus Schirp
dc893bfd7d
Progress on method matching
...
* Adjust metrics
* Add initial integration spec on method matching
* Yard and Heckle coverage is at 100% (heckle cov is disputable)
* Rcov does not really make sense as MRI 1.8 cannot reach all code
paths.
2012-07-24 01:41:08 +02:00
Markus Schirp
d74481b8fb
Cleanup whitespace after comma
2012-07-23 23:03:55 +02:00
Markus Schirp
df6ccafeab
Add method matcher infrastructure
...
Needs more specs for sure. Especially edge cases.
2012-07-23 22:54:35 +02:00