testbot 0.6.4 → 0.6.5

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ 0.6.5
2
+
3
+ Fixed test unit require path so that it works with ruby 1.9.
4
+
1
5
  0.6.4
2
6
 
3
7
  Fixed bug with running test unit tests that caused errors like '/bin/ruby:1: Invalid char `\317' in expression`'.
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.4'
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
- "#{ruby_command} -Itest -e '%w(#{files}).each { |file| require(file) }'"
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)
@@ -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"
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: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 4
10
- version: 0.6.4
9
+ - 5
10
+ version: 0.6.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Joakim Kolsj\xC3\xB6"