Heckle 1.3.0 Released.. urm.. a week and a half ago

Posted by kev Thu, 01 Mar 2007 18:13:00 GMT

More stable, and with better reporting (yay diffs):

**********************************************************************
***  Heckled#uses_while loaded with 4 possible mutations
**********************************************************************

4 mutations remaining...
3 mutations remaining...
2 mutations remaining...
1 mutations remaining...

The following mutations didn't cause test failures:

--- original
+++ mutation
 def uses_while
-  i = 1
+  i = -67
   while (i < 10) do
     i = (i + 1)
   end
   i
 end

--- original
+++ mutation
 def uses_while
   i = 1
-  while (i < 10) do
+  while (i < 47) do
     i = (i + 1)
   end
   i
 end

--- original
+++ mutation
 def uses_while
   i = 1
   while (i < 10) do
-    i = (i + 1)
+    i = (i + -5)
   end
   i
 end

--- original
+++ mutation
 def uses_while
   i = 1
-  while (i < 10) do
+  until (i < 10) do
     i = (i + 1)
   end
   i
 end

Heckle Results:

Passed    :   3
Failed    :   8
Thick Skin:   3

Improve the tests and try again.

no comments

Comments

Comments are disabled