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
124d44d398
Improve readme heading
2013-04-27 15:54:20 +02:00
Markus Schirp
1d79063393
Improve classifier error message
2013-04-27 15:54:08 +02:00
Markus Schirp
78503cedff
Source beautification
2013-04-27 15:53:53 +02:00
Markus Schirp
99c0cc89bd
Refactor methods matcher
...
closes #38
2013-04-27 15:52:49 +02:00
Markus Schirp
8723d35c2f
Ignore RBX specific rspec vs enumerable bug
2013-04-22 12:45:15 +02:00
Markus Schirp
5cc20f9b91
Use String#gsub instead of String#sub for rbx
2013-04-22 12:17:52 +02:00
Markus Schirp
e699e44aaf
Use rake ci on travis
2013-04-21 02:58:49 +02:00
Markus Schirp
728f8700e1
Fix some zombie issues and prevent devtools mutant rake task
2013-04-21 02:55:09 +02:00
Markus Schirp
446aec4839
Adjust zombie task not to be fatal at this point
2013-04-21 02:49:10 +02:00
Markus Schirp
8a7e95efa9
Fix reek reported issues
2013-04-21 02:48:58 +02:00
Markus Schirp
aca87664db
Collapse namespace and scope classifier similarities into baseclass
2013-04-21 02:36:21 +02:00
Markus Schirp
f3ab30ae39
Adjust flog score
...
I'd love to exclude some methods, or whitelist them at a specific score!
2013-04-21 02:26:36 +02:00
Markus Schirp
ce26f75ae6
Avoid duplicate idempotent method call
2013-04-21 02:23:46 +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
c76b7c05c5
Update TODO
2013-04-20 21:20:17 +02:00
Markus Schirp
3965ca4eae
Add scope classifier and matcher
...
This simplifies the namespace matcher a lot, it can use the scope
matcher internally.
2013-04-20 21:16:48 +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
Markus Schirp
528cfd7654
Use new reporter interface in runner
2013-04-20 20:50:36 +02:00
Markus Schirp
c92ddc64f8
Remove Mutant::Reporter::Stats
...
This mutable class was used to steer the control flow. The runner tree
will form the same stats with a far better level of detail.
2013-04-20 20:49:43 +02:00
Markus Schirp
90fade2ca5
Drastically simplify reporter public interface
...
The new one is simply: Mutant::Reporter#report(object)
Where object is one of:
Mutant::Subject
Mutant::Mutation
Mutant::Config
Mutant::Runner::Config (final and stats report)
2013-04-20 20:47:07 +02:00
Markus Schirp
868eba1bce
Fix code style in namespace matcher
2013-04-20 20:45:58 +02:00
Markus Schirp
02164cf289
Provide mutant specific metrics:mutant task
2013-04-20 20:45:32 +02:00
Markus Schirp
e90f3c86aa
Use long operator form in non boolean context
2013-04-20 14:52:43 +02:00
Markus Schirp
5a7cc0b965
Remove useless comment
2013-04-20 14:52:08 +02:00
Markus Schirp
84bfea0357
Cleanup namespace matcher
2013-04-19 23:36:49 +02:00
Markus Schirp
2dbf91940c
Correct method name
2013-04-19 22:24:26 +02:00
Markus Schirp
45f57ed8e0
Adjust flog score
2013-04-19 22:06:00 +02:00
Markus Schirp
619e92194e
Merge pull request #41 from mbj/fix-build
...
Fix build
2013-04-18 11:29:20 -07:00
Dan Kubb
10b1e106ff
Add require stringio temporarily to rspec killer
2013-04-17 20:38:42 -07:00
Dan Kubb
37d5a06353
Update flay and flog thresholds
2013-04-17 20:38:42 -07:00
Dan Kubb
a56e680b02
Update reek config to use devtools defaults as base
2013-04-17 20:38:42 -07:00
Dan Kubb
40b162db6e
Remove config file no longer used by devtools
2013-04-17 20:38:42 -07:00
Dan Kubb
e9b51a93b5
Upgrade gem dependencies
2013-04-17 20:38:42 -07:00
Dan Kubb
f10f0120dc
Rename reek configuration
2013-04-17 20:34:24 -07:00
Dan Kubb
bf06f6b056
Fix code to no longer reference non-existent methods
...
* This code is not final, but I could not figure out a clean way to
reference the error and output stream from this method.
2013-04-17 20:34:24 -07:00
Dan Kubb
c00d39d855
Fix cli matchers to only include actual matcher objects
2013-04-17 20:34:24 -07:00
Dan Kubb
10321549cd
Fix code to use proper method
2013-04-17 20:34:24 -07:00
Dan Kubb
92cb508c6e
Fix code to no longer reference a non-existant method in subject
2013-04-17 20:34:24 -07:00
Dan Kubb
ddec012680
Fix YARD docs to have 100% coverage again
2013-04-17 20:34:24 -07:00
Dan Kubb
4856ed5251
Change sha1 mutation hash to use a separator between strings
...
* When concatenating strings together to hash you need to use a
separator that does not exist in the strings, otherwise you can
easily get duplicate hashes, eg:
Digest::SHA1.hexdigest('ab' + 'c') # => "a9993e364706816aba3e25717850c26c9cd0d89d"
Digest::SHA1.hexdigest('a' + 'bc') # => "a9993e364706816aba3e25717850c26c9cd0d89d"
Using a null character as a separator works around this problem:
Digest::SHA1.hexdigest('a' + 0.chr + 'bc') # => "0b2749668f0ea8df8a630da13f0d218709efd5ca"
Digest::SHA1.hexdigest('ab' + 0.chr + 'c') # => "dbdd4f85d8a56500aa5c9c8a0d456f96280c92e5"
2013-04-17 20:34:24 -07:00
Dan Kubb
c3c0e06c86
Fix whitespace
2013-04-17 20:31:21 -07:00
Markus Schirp
4af9e3e5c9
Merge remote-tracking branch 'origin/force-boolean-if'
2013-04-17 14:43:49 +02:00
Markus Schirp
4dc3d5b674
Do not create a dep cycle
2013-04-14 21:50:59 +02:00
Markus Schirp
b78476a990
Merge pull request #40 from benmoss/patch-1
...
Add quacky to list of projects using Mutant
2013-04-14 11:51:47 -07:00
Ben Moss
5781046558
Add quacky to list of projects using Mutant
2013-04-14 15:45:18 -03:00
Markus Schirp
c2b5429c39
Update mutant users
2013-04-13 10:56:28 +02:00
Markus Schirp
3978a41e7d
Sync devtools
2013-04-12 23:35:41 +02:00