Skip to content

Commit

Permalink
Pulled flat history from subversion.
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//src/heckle/dev/": change = 2769]
  • Loading branch information
zenspider committed Dec 15, 2006
0 parents commit 908b2d6
Show file tree
Hide file tree
Showing 13 changed files with 1,393 additions and 0 deletions.
19 changes: 19 additions & 0 deletions History.txt
@@ -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!

13 changes: 13 additions & 0 deletions Manifest.txt
@@ -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
49 changes: 49 additions & 0 deletions README.txt
@@ -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.
17 changes: 17 additions & 0 deletions Rakefile
@@ -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
21 changes: 21 additions & 0 deletions bin/heckle
@@ -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

0 comments on commit 908b2d6

Please sign in to comment.