Markus Schirp
105730f5ba
Add parallel runner / reporter
2014-07-17 15:05:57 +00:00
Markus Schirp
815526f8b4
Fix result reporting ot happen when runner finishes
2014-07-16 15:26:47 +00:00
Markus Schirp
496dbe24d2
Include require and include setup in progress report
2014-07-16 10:31:07 +00:00
Markus Schirp
4a5c708ffb
Report amount of total mutations in progress
2014-07-16 09:35:35 +00:00
Markus Schirp
215c11b1a9
Add specs for subject prefix matching
2014-07-13 21:04:23 +00:00
Markus Schirp
8b2b43919a
Add example for complex composition of predicate on matching
2014-07-13 20:02:30 +00:00
Markus Schirp
c0e8db7ffe
Change rspec matcher to be position independant
...
The ENV accumulates state in the tracing logger. Depending on the order
of tests (note --load-by random in the .rspec) the might already be
other messages traced.
2014-07-12 22:04:45 +00:00
Markus Schirp
47bf498d4c
Move spec subject to null integration
2014-07-12 21:01:51 +00:00
Markus Schirp
24b4097259
Add spec for matching behavior on defs with non self/const receiver
2014-07-12 20:59:56 +00:00
Markus Schirp
13516a0cc7
Add test for Mutant::Integration#all_tests
2014-07-12 20:53:57 +00:00
Markus Schirp
609fb3cccb
Simplify rspec integration differencies between rspec2 and rspec3
2014-07-12 16:46:10 +00:00
Markus Schirp
e8f09b988d
Fix Mutant::Expression#inspect to be more usable
2014-07-12 16:18:01 +00:00
Markus Schirp
25e11d87c8
Fix spec code style
2014-07-07 15:07:36 +00:00
Markus Schirp
7813f92412
Add better noop/neutral reporting
2014-07-07 15:04:34 +00:00
Markus Schirp
d5f5564dc0
Add specification for runner isolation errors
2014-07-07 14:07:47 +00:00
Markus Schirp
c986cedd84
Add specificatin for Mutant::CLI.run under exceptions
2014-07-06 22:33:08 +00:00
Markus Schirp
290b92c6a7
Add specs for Mutant::CLI.run
2014-07-06 22:30:39 +00:00
Markus Schirp
3a5acc6ea1
Fix warning expectation for RBX
2014-07-06 21:56:34 +00:00
Markus Schirp
c4f76edd37
Add specs for CLI progress reporter
2014-07-06 21:51:22 +00:00
Markus Schirp
c638825bd9
Add specs for Subject#prepare
2014-07-06 21:05:05 +00:00
Markus Schirp
eb5c203d74
Add specs for all CLI flags
2014-07-06 15:00:37 +00:00
Markus Schirp
89ea14b5a1
Add specification of Mutant::Test
2014-07-06 14:39:06 +00:00
Markus Schirp
8f1b72fb3a
Add specification for null matcher
2014-07-06 14:34:32 +00:00
Markus Schirp
de6509c785
Reduce public interface of chain matcher
2014-07-06 14:32:36 +00:00
Markus Schirp
dbafc31462
Reduce and specify behavior of matcher compiler
2014-07-06 14:31:12 +00:00
Markus Schirp
5ee21dc303
Fix propagation of test report attributes from killforks
...
I do not really like the current implementation. But it works for now.
2014-07-06 13:50:56 +00:00
Markus Schirp
919fd64d5f
Add specification for filter matcher
2014-07-06 03:19:21 +00:00
Markus Schirp
aa96b1d978
Add specification of chain matcher .build
2014-07-06 03:16:17 +00:00
Markus Schirp
d827dc4543
Add specification for isolation exception wrapping
2014-07-06 03:12:44 +00:00
Markus Schirp
22e0bdbfc1
Use cached env from instance methods specs for speed
2014-07-06 03:07:20 +00:00
Markus Schirp
a53a4d2d67
Add a spec for matching methods without source location
2014-07-06 03:00:21 +00:00
Markus Schirp
ad972bcc00
Add an example for method matching on memoizer
2014-07-06 02:42:38 +00:00
Markus Schirp
829e48a7b5
Use dedicated exceptions for expression parsing failure scenarios
2014-07-06 02:34:01 +00:00
Markus Schirp
b1c6293bd8
Fix specs for null reporter
2014-07-06 02:20:44 +00:00
Markus Schirp
dec1a39eb5
Move isolation into config object
...
Also add Isolation::None for testing.
2014-07-06 02:17:28 +00:00
Markus Schirp
473aeace90
Fix neutral/vs noop mutation naming
2014-07-05 23:32:07 +00:00
Markus Schirp
0bebec4871
Add specification for reporting diff errors
2014-07-05 23:08:15 +00:00
Markus Schirp
41d9700473
Refactor runer infrastructure
...
* Nuke around 800 lock
* Honor LSP with not anymore squeezing something non LSP compatible in
the same inheritance tree.
* Separate running from result tree.
* Clean up kill logic and early exits on already dead mutations.
* Fix #runnin? smell for reporters.
* Decouple config object from VM state. Makes it serializable to enable
config loading.
* Fix sequence of global VM events to match PRIOR rspec infects VM with
gazillions of classes / modules. Thix fixes a startup speed
degeneration.
* Various fixes to enhance determinism.
* Replace some unneded manual double dispatch with single manual dispatch for
reporter / runners.
2014-07-05 23:04:38 +00:00
Markus Schirp
efa12158d1
Avoid multiple enumeration of object space
2014-07-02 17:47:51 +00:00
Markus Schirp
34b8f4a6c1
Change warning expectation to not fail on missing warnings
2014-06-30 23:46:17 +00:00
Markus Schirp
3390abc675
Use environment object inside matchers
...
This will allow to use reporters from matchers avoiding stupid direct
writes to $stderr.
Also it will allow to remove matching from CLI altogether in a phase of
the runner. Allowing to decouple Mutant::Config from VM environment
allowing to serialize it ;)
Step by step. Takes a while.
2014-06-30 13:08:52 +00:00
Markus Schirp
a18a15f8ec
Simplify method matcher
2014-06-30 12:53:48 +00:00
Markus Schirp
7e17690714
Fix namespace matches result ordering to be deterministic
2014-06-30 12:41:14 +00:00
Markus Schirp
3390d59954
Fix naming of Expression.{try_,}_parse
...
* try_parse is now the one that does not raise
* parse is now the one that does rase
2014-06-29 23:16:36 +00:00
Markus Schirp
11b945fbbe
Use expression logic for namespace matching
2014-06-29 22:52:50 +00:00
Markus Schirp
d107821b4c
Fix glob expressions on method matches
2014-06-29 21:42:18 +00:00
Markus Schirp
f36dfc442a
Fix rspec deprecation
2014-06-29 21:32:26 +00:00
Markus Schirp
13cd04d9be
Introduce AST::Meta to externalize semantic analysis
...
* Add Mutant::AST namespace to hold all AST related data / helpers.
* Mutant::AST will be externalized into an ast-meta gem that can be
shared with unparser for deduplication.
* Over the time the mutators itself will not need to deal with semantic
analysis of the AST anymore by themselves.
* Move AST analysis for send nodes to AST::Meta
* Fix #209
2014-06-29 21:26:58 +00:00
Markus Schirp
ee940f1c21
Remove RBX specific spec exclude
2014-06-29 00:25:27 +00:00
Markus Schirp
c87a9e991f
Fix namespace matcher API use
2014-06-29 00:23:54 +00:00