testbot 0.6.4 → 0.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +4 -0
- data/README.markdown +4 -1
- data/lib/shared/adapters/test_unit_adapter.rb +1 -1
- data/lib/shared/version.rb +1 -1
- metadata +3 -3
data/CHANGELOG
CHANGED
data/README.markdown
CHANGED
@@ -14,9 +14,12 @@ Try it out
|
|
14
14
|
|
15
15
|
testbot --server
|
16
16
|
testbot --runner --connect localhost
|
17
|
+
sleep 5 # wait for the runner to register with the server
|
18
|
+
|
17
19
|
mkdir -p testbotdemo/test; cd testbotdemo
|
18
20
|
echo 'require "test/unit"' > test/demo_test.rb
|
19
21
|
echo 'class DemoTest < Test::Unit::TestCase; def test_first; end; end' >> test/demo_test.rb
|
22
|
+
|
20
23
|
testbot --test --connect localhost
|
21
24
|
|
22
25
|
# Cleanup
|
@@ -64,7 +67,7 @@ Using testbot with Rails 2:
|
|
64
67
|
|
65
68
|
# Add testbot to your Gemfile if you use bundler. You also need the plugin because
|
66
69
|
# Rails 2 does not load raketasks from gems.
|
67
|
-
ruby script/plugin install git://github.com/joakimk/testbot.git -r 'refs/tags/v0.6.
|
70
|
+
ruby script/plugin install git://github.com/joakimk/testbot.git -r 'refs/tags/v0.6.5'
|
68
71
|
script/generate testbot --connect 192.168.0.100
|
69
72
|
|
70
73
|
rake testbot:spec (or :rspec, :test, :features)
|
@@ -4,7 +4,7 @@ class TestUnitAdapter
|
|
4
4
|
|
5
5
|
def self.command(project_path, ruby_interpreter, files)
|
6
6
|
ruby_command = RubyEnv.ruby_command(project_path, :ruby_interpreter => ruby_interpreter)
|
7
|
-
|
7
|
+
%{#{ruby_command} -Itest -e '%w(#{files}).each { |file| require(Dir.pwd + "/" + file) }'}
|
8
8
|
end
|
9
9
|
|
10
10
|
def self.test_files(dir)
|
data/lib/shared/version.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Testbot
|
2
2
|
# Don't forget to update readme and changelog
|
3
3
|
def self.version
|
4
|
-
version = "0.6.
|
4
|
+
version = "0.6.5"
|
5
5
|
dev_version_file = File.join(File.dirname(__FILE__), '..', '..', 'DEV_VERSION')
|
6
6
|
if File.exists?(dev_version_file)
|
7
7
|
version += File.read(dev_version_file)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: testbot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 5
|
10
|
+
version: 0.6.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Joakim Kolsj\xC3\xB6"
|