Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pulled flat history from subversion.
[git-p4: depot-paths = "//src/heckle/dev/": change = 2769]
- Loading branch information
0 parents
commit 908b2d6
Showing
13 changed files
with
1,393 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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! | |||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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.