Tim Chambers
fe72c94b94
Fix miscellaneous typos
...
Mostly in comments and documentation, but one method name was corrected to match documentation.
2014-08-07 09:00:31 -07:00
Markus Schirp
d63f3d68bd
Write warnings from matchers through reporter
2014-06-30 13:19:47 +00:00
Markus Schirp
90362f3203
Remove duplicate constant
2014-06-29 00:17:08 +00:00
Markus Schirp
42b8e89420
Use least powerful equality test
2014-06-16 10:50:32 +00:00
Markus Schirp
5fdaf9de15
Kill redundant YARD docs
2014-06-15 19:28:57 +00:00
Markus Schirp
a19f3b1691
Nuke UTF-8 encoding headers
...
* I do not use 1.9.3
* Also keeping them in each file increases mental overhead (true it *can* be autoamted)
* None of the files encodes NON ASCII chars.
* I do not expect it makes any difference, since nobody programmatically
will consume strings generated by mutant under the assumption they are UTF-8 encoded.
* 1.9.3 Users have to deal with the encoding fuckup under ruby anyways.
2014-06-09 15:37:48 +00:00
Markus Schirp
5f6ff99ece
Consolidate ruby style
2014-05-27 15:16:37 +00: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
6bdbdb719e
Fix style in Mutant::Matcher::Method::Singleton
2013-07-29 00:25:15 +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
Markus Schirp
71f0c108f9
Cleanup singleton method matcher
2013-06-15 17:14:09 +02:00
Markus Schirp
fca5b8a168
Port method extraction to parser based ast
2013-06-14 21:11:54 +02:00
Markus Schirp
6b2e2a8bb0
Initial round of refactoring
...
* Remove some RBX only nodes
* Register parser types
* Remove all occurences of ::Rubinius when loading libraries
2013-06-14 21:11:54 +02:00
Dan Kubb
c3c0e06c86
Fix whitespace
2013-04-17 20:31:21 -07:00
Markus Schirp
b6a6eddfc5
Construct correct subjects from method matchers
2013-01-13 22:30:06 +01:00
Markus Schirp
f6edfb06de
Fix crashes from veritas
2012-12-08 03:11:26 +01:00
Markus Schirp
b5430e2000
Cleanup crashes and invalid mutants
2012-12-07 23:27:21 +01:00
Markus Schirp
508c37e747
Workaround visibility change through loader
2012-12-07 17:27:36 +01:00
Markus Schirp
7be00708b6
Improve rspec dm2 strategy
...
* Expand foo? to foo_predicate_spec.rb
* Expand foo! to foo_bang_spec.rb
* Execute all public method specs on mutation of private method
* Warn on stderr when no spec file was found (better than nothing to be
iproved later)
2012-12-07 16:57:42 +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
001f3c7d99
Make mutant run under MRI 1.9.
...
* Add a Mutant::Loader::Eval that loads code via Kernel#eval
* Move Mutnat::Loader to Mutant::Loader::Rubinius (currently not used)
2012-11-21 20:31:01 +01:00
Markus Schirp
565058f566
Correctly implement and specify singleton method extraction
2012-08-29 13:32:44 +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
18af58c7e3
Remove complexity in singleton method matcher
2012-08-16 19:42:32 +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
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
9755009966
Use scope based subclassing pattern
2012-08-09 23:07:22 +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
df6ccafeab
Add method matcher infrastructure
...
Needs more specs for sure. Especially edge cases.
2012-07-23 22:54:35 +02:00