add cucumber for integration testing and add a feature for statistics

refactor some stuff to support testing statistisc
This commit is contained in:
Reinier Balt 2009-04-13 22:26:20 +02:00
parent 058079a0a7
commit 43440eaf33
11 changed files with 286 additions and 5 deletions

8
script/cucumber Normal file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env ruby
begin
load File.expand_path(File.dirname(__FILE__) + "/../vendor/plugins/cucumber/bin/cucumber")
rescue LoadError => e
raise unless e.to_s =~ /cucumber/
require "rubygems"
load File.join(Gem.bindir, "cucumber")
end