Permalink
Browse files

Pulled flat history from subversion.

[git-p4: depot-paths = "//src/heckle/dev/": change = 2769]
  • Loading branch information...
zenspider committed Dec 15, 2006
0 parents commit 908b2d6da71e790cd3de2375c73794b15ff1fff9
Showing with 1,393 additions and 0 deletions.
  1. +19 −0 History.txt
  2. +13 −0 Manifest.txt
  3. +49 −0 README.txt
  4. +17 −0 Rakefile
  5. +21 −0 bin/heckle
  6. +334 −0 lib/heckle.rb
  7. +14 −0 lib/test_unit_heckler.rb
  8. +16 −0 sample/Rakefile
  9. +91 −0 sample/changes.log
  10. +63 −0 sample/lib/heckled.rb
  11. +19 −0 sample/test/test_heckled.rb
  12. +100 −0 test/fixtures/heckled.rb
  13. +637 −0 test/test_heckle.rb
@@ -0,0 +1,19 @@
+== svn
+* 11 major enhancements:
+ * Able to roll back original method after processing.
+ * Can mutate numeric literals.
+ * Can mutate strings.
+ * Can mutate a node at a time.
+ * Can mutate if/unless
+ * Decoupled from Test::Unit
+ * Cleaner output
+ * Can mutate true and false.
+ * Can mutate while and until.
+ * Can mutate regexes, ranges, symbols
+ * Can run against entire classes
+
+== 1.0.0 / 2006-10-22
+
+* 1 major enhancement
+ * Birthday!
+
@@ -0,0 +1,13 @@
+History.txt
+Manifest.txt
+README.txt
+Rakefile
+bin/heckle
+lib/heckle.rb
+lib/test_unit_heckler.rb
+sample/Rakefile
+sample/changes.log
+sample/lib/heckled.rb
+sample/test/test_heckled.rb
+test/fixtures/heckled.rb
+test/test_heckle.rb
@@ -0,0 +1,49 @@
+heckle
+ by Ryan Davis and Kevin Clark
+ http://www.rubyforge.org/projects/seattlerb
+
+== DESCRIPTION:
+
+Unit Testing Sadism. More description coming soon. I'm punting to get
+this launched ASAP.
+
+== FEATURES/PROBLEMS:
+
+* needs some love. haha.
+
+== SYNOPSYS:
+
+ FIX
+
+== REQUIREMENTS:
+
++ FIX
+
+== INSTALL:
+
++ sudo gem install heckle
+
+== LICENSE:
+
+(The MIT License)
+
+Copyright (c) 2006 Ryan Davis and Kevin Clark
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+'Software'), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,17 @@
+# -*- ruby -*-
+
+require 'rubygems'
+require 'hoe'
+require './lib/heckle.rb'
+
+Hoe.new('heckle', Heckle::VERSION) do |p|
+ p.rubyforge_name = 'seattlerb'
+ p.summary = 'Unit Test Sadism'
+ p.description = p.paragraphs_of('README.txt', 2..5).join("\n\n")
+ p.url = p.paragraphs_of('README.txt', 0).first.split(/\n/)[1..-1]
+ p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
+
+ p.extra_deps << ['ruby2ruby', '>= 1.1.0']
+end
+
+# vim: syntax=Ruby
@@ -0,0 +1,21 @@
+#!/usr/local/bin/ruby
+
+$:.unshift File.join(File.dirname(__FILE__), *%w[.. lib])
+require 'test_unit_heckler'
+
+file = ARGV.shift
+impl = ARGV.shift
+meth = ARGV.shift
+
+unless file and impl then
+ abort "usage: #{File.basename($0)} file.rb impl_class_name [impl_method_name]"
+end
+
+load file
+
+if meth
+ heckle = TestUnitHeckler.new(impl, meth)
+ heckle.validate
+else
+ TestUnitHeckler.validate(impl)
+end
Oops, something went wrong.

0 comments on commit 908b2d6

Please sign in to comment.