Skip to content

Commit

Permalink
Fixed clean rule in rakefile.
Browse files Browse the repository at this point in the history
Proposed new strategy for autotest

[git-p4: depot-paths = "//src/ZenTest/dev/": change = 2411]
  • Loading branch information
zenspider committed Mar 25, 2006
1 parent 3368820 commit 3282f77
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,5 @@ end

desc 'Clean up'
task :clean => [ :clobber_rdoc, :clobber_package ] do
rm_rf %w(*~ doc)
rm_f Dir["**/*~"]
end
9 changes: 9 additions & 0 deletions lib/autotest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@
# * Implementation files must match up with a test file named
# test_.*implementation.rb

# New (proposed) strategy:
#
# 1) find all files and associate them from impl <-> test
# 2) run all tests
# 3) scan for failures
# 4) detect changes in ANY (ruby?) file, rerun all failures + changed files
# 5) until 0 defects, goto 3
# 6) when 0 defects, goto 2

class Autotest

def self.run
Expand Down

0 comments on commit 3282f77

Please sign in to comment.