Commit graph

38 commits

Author SHA1 Message Date
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
dbc6455ae1 Finish cli reporter refactoring
Readds mutation reporting
2013-06-21 23:52:57 +02:00
Markus Schirp
59533287b2 Remove complexity in cli reporter via printer classes 2013-06-21 17:52:53 +02:00
Markus Schirp
7e98a8d2d6 Add parameter description 2013-06-15 17:16:48 +02:00
Markus Schirp
1f25ab3ded Cosmetic end comments 2013-06-14 21:12:10 +02:00
Markus Schirp
e41409cf87 Use concord ~> 0.1.1 2013-06-14 21:11:08 +02:00
Markus Schirp
8a7e95efa9 Fix reek reported issues 2013-04-21 02:48:58 +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
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
Dan Kubb
c3c0e06c86 Fix whitespace 2013-04-17 20:31:21 -07: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
cf78d6365c Merge branch 'master' of github.com:mbj/mutant into development
Conflicts:
	lib/mutant/reporter/cli.rb
2013-01-21 23:14:28 +01:00
Markus Schirp
9ae26500a8 Reconnect cli reporter with kill reporting 2013-01-21 23:13:34 +01:00
Postmodern
bbda303a83 Use %s to avoid embedding Strings which may contain '%' characters. 2013-01-20 22:30:49 -08:00
Markus Schirp
d41d7eddb0 Refactor reporter infrastructure 2013-01-15 23:46:05 +01:00
Markus Schirp
1d12ba0611 Adjust scores and do a little metric driven refactoring 2012-12-12 22:45:47 +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
71eb4452ac Correctly report noop mutation 2012-12-12 17:52:24 +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
fa36323fcd Improve reporting to show only uncovered mutations 2012-12-07 17:14:18 +01:00
Markus Schirp
e0df644a7a Move reporter stats into own file and cleanup 18 spec 2012-12-07 15:59:37 +01:00
Markus Schirp
8d18f7c9cd Fix diff in cli 2012-12-04 15:27:19 +01:00
Markus Schirp
6c47342bca Do not try print AST for cases generated source does not have a diff 2012-11-25 00:45:19 +01:00
Markus Schirp
beba0f1155 Report colorized diff for all mutations
Will have a config switch soon
2012-11-24 23:28:23 +01:00
Markus Schirp
ed339caf25 Fix commend spelling 2012-11-22 11:20:31 +01:00
Markus Schirp
334bf17d45 Add basic statistics 2012-11-22 02:51:16 +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
ccbe2f6396 Mark failing specs as panding and use attr_reader again 2012-10-26 11:24:29 +02:00
Markus Schirp
d62754d10d Cleanup cli reporter
* Equalize on io object
* Raise on cases where diff cannot be generated (simplifies explorational testing)
2012-08-29 13:36:29 +02:00
Markus Schirp
459d028de1 Add a working mutation tester for mutant
* Expand attr_reader :name, to def name; @name; end
  As attr_reader defined methods do not have a valid source location.
* Expose more internal state to allow the generation of nice match
  identifications. Needs to be cleaned up.
2012-08-20 17:53:41 +02:00
Markus Schirp
ba34d4d6de Remove complexity in cli reporter 2012-08-16 19:42:45 +02:00
Markus Schirp
aaa96183b9 Bring back yard coverage to 100% 2012-08-16 19:26:15 +02:00
Markus Schirp
583668138e Add mutations on singleton methods
* Fixing singleton matcher to return Rubiniuy::AST::DefineSingleton
  and not Rubinius::AST::DefineSingletonScope
* Adjust counts of runner spec
2012-08-16 19:10:24 +02:00
Markus Schirp
cee1d3943c Add colorized diffs to cli reporter 2012-08-16 18:02:03 +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