Commit graph

21 commits

Author SHA1 Message Date
Markus Schirp
5f54d605cd Add todo not about equivalent subtrees 2012-12-07 18:41:25 +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
4686cca850 Update TODO 2012-12-07 11:56:16 +01:00
Markus Schirp
ebea57a950 Update TODO 2012-08-29 13:43:53 +02:00
Markus Schirp
7772e26e98 Update TODO 2012-08-14 12:41:29 +02:00
Markus Schirp
8cd5379438 Update TODO 2012-08-14 12:28:22 +02:00
Markus Schirp
04e4f454ec Update TODO 2012-08-01 18:06:15 +02:00
Markus Schirp
a25f99c97a Add initial support for mutating case statements 2012-08-01 17:52:12 +02:00
Markus Schirp
c168d33adc Simplify explict_self_reciver mutation 2012-08-01 14:38:12 +02:00
Markus Schirp
55c61dfc28 Add initial support for Rubinius::AST::{Send,SendWithArguments}
* Only supports simple mutations currently.
2012-07-31 22:20:12 +02:00
Markus Schirp
7f3797ffa1 Introduce Mutant::Random
* Cleans up naming duplication from the Mutant.random_* names.
2012-07-31 20:11:37 +02:00
Markus Schirp
02a726d767 Retry on random mutates that are the same
* This fixes problems where generated mutations have a chance
  to be the same like the mutation subject.
2012-07-30 22:18:00 +02:00
Markus Schirp
ef9172bca4 Guard against the generation of equal mutants
* Move Mutant::Mutator::Generator in a dedicated file
* Mutant::Mutator::Generator#append only forwards mutated node when it
  does not equal original nodes sexpession. This does not catch
  equivalent mutations, but mutations that exactly reproduce the same
  AST. This way a check for not generating the same asts can be
  centralized.
2012-07-30 21:40:49 +02:00
Markus Schirp
9e8b451933 Add mutation for some literals
* This is in progress code. The plan is to support all literals before
  beginning to cleanup and dedup the mutation generation. Have to
  understand the AST and the possible mutations more in depth before
  making structural decisions here.
2012-07-27 22:39:31 +02:00
Markus Schirp
134e4357e1 Update TODO 2012-07-27 00:28:17 +02:00
Markus Schirp
090e546ebd Update TODO 2012-07-26 20:06:34 +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
df6ccafeab Add method matcher infrastructure
Needs more specs for sure. Especially edge cases.
2012-07-23 22:54:35 +02:00
Markus Schirp
ef472cef20 Update mutant on mutant notes 2012-07-23 16:53:02 +02:00
Markus Schirp
8c1fa8dace Add project infrastructure
* This infrastructure, especially the rake tasks should be
  gemified at some point in the future. I copied exactly the same
  bytes many times in the last month.
2012-07-23 16:37:44 +02:00