jstorimer-deep-test 1.4.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/README.rdoc +41 -70
- data/Rakefile +47 -119
- data/TODO +2 -2
- data/VERSION +1 -1
- data/infrastructure/dynamic_teardown.rb +22 -0
- data/{test → infrastructure}/fake_deadlock_error.rb +0 -0
- data/infrastructure/load.rb +11 -0
- data/infrastructure/test_central_command.rb +15 -0
- data/infrastructure/test_exception.rb +7 -0
- data/{test → infrastructure}/test_factory.rb +0 -0
- data/infrastructure/test_logger.rb +11 -0
- data/infrastructure/test_operator.rb +15 -0
- data/infrastructure/test_result.rb +15 -0
- data/infrastructure/thread_agent.rb +21 -0
- data/infrastructure/timewarp/Rakefile +14 -0
- data/infrastructure/timewarp/lib/timewarp.rb +21 -0
- data/infrastructure/timewarp/test/timewarp_test.rb +45 -0
- data/lib/deep_test.rb +28 -40
- data/lib/deep_test/agent.rb +108 -0
- data/lib/deep_test/central_command.rb +165 -0
- data/lib/deep_test/cpu_info.rb +22 -0
- data/lib/deep_test/database/mysql_setup_listener.rb +11 -12
- data/lib/deep_test/database/setup_listener.rb +23 -23
- data/lib/deep_test/demon.rb +25 -0
- data/lib/deep_test/distributed/beachhead.rb +104 -0
- data/lib/deep_test/distributed/dispatch_controller.rb +17 -10
- data/lib/deep_test/distributed/establish_beachhead.rb +19 -0
- data/lib/deep_test/distributed/landing_fleet.rb +30 -0
- data/lib/deep_test/distributed/landing_ship.rb +60 -0
- data/lib/deep_test/distributed/remote_deployment.rb +56 -0
- data/lib/deep_test/distributed/rsync.rb +25 -12
- data/lib/deep_test/distributed/shell_environment.rb +50 -0
- data/lib/deep_test/distributed/ssh_client_connection_info.rb +14 -0
- data/lib/deep_test/failure_message.rb +19 -0
- data/lib/deep_test/lib_root.rb +4 -0
- data/lib/deep_test/listener_list.rb +1 -1
- data/lib/deep_test/local_deployment.rb +46 -0
- data/lib/deep_test/logger.rb +17 -2
- data/lib/deep_test/main.rb +41 -0
- data/lib/deep_test/marshallable_exception_wrapper.rb +4 -4
- data/lib/deep_test/metrics/data.rb +34 -0
- data/lib/deep_test/metrics/measurement.rb +39 -0
- data/lib/deep_test/{null_worker_listener.rb → null_listener.rb} +14 -14
- data/lib/deep_test/options.rb +41 -56
- data/lib/deep_test/proxy_io.rb +77 -0
- data/lib/deep_test/rake_tasks.rb +3 -1
- data/lib/deep_test/result_reader.rb +10 -6
- data/lib/deep_test/rspec_detector.rb +1 -1
- data/lib/deep_test/spec.rb +5 -1
- data/lib/deep_test/spec/extensions/example_methods.rb +7 -1
- data/lib/deep_test/spec/extensions/spec_task.rb +3 -2
- data/lib/deep_test/spec/runner.rb +32 -17
- data/lib/deep_test/spec/work_result.rb +2 -0
- data/lib/deep_test/test/run_test_suite.rb +5 -0
- data/lib/deep_test/test/runner.rb +2 -2
- data/lib/deep_test/test/supervised_test_suite.rb +9 -10
- data/lib/deep_test/test/work_result.rb +1 -0
- data/lib/deep_test/test_task.rb +1 -1
- data/lib/deep_test/ui/console.rb +9 -11
- data/lib/deep_test/warlock.rb +37 -25
- data/lib/telegraph.rb +29 -0
- data/lib/telegraph/ack_sequence.rb +14 -0
- data/lib/telegraph/logging.rb +20 -0
- data/lib/telegraph/message.rb +39 -0
- data/lib/telegraph/operator.rb +47 -0
- data/lib/telegraph/switchboard.rb +57 -0
- data/lib/telegraph/wire.rb +73 -0
- data/negative_acceptance_tests/dying_spec.rb +13 -0
- data/negative_acceptance_tests/dying_test.rb +13 -0
- data/negative_acceptance_tests/failing_spec.rb +9 -0
- data/{test/failing.rb → negative_acceptance_tests/failing_test.rb} +3 -1
- data/negative_acceptance_tests/kill_agent_one_on_start_work.rb +16 -0
- data/negative_acceptance_tests/passing_spec.rb +10 -0
- data/negative_acceptance_tests/passing_test.rb +12 -0
- data/negative_acceptance_tests/tasks.rake +87 -0
- data/negative_acceptance_tests/tests.rb +60 -0
- data/sample_rails_project/deep_test.rb +4 -0
- data/sample_rails_project/lib/{foreign_host_worker_simulation_listener.rb → foreign_host_agent_simulation_listener.rb} +6 -4
- data/sample_rails_project/lib/tasks/deep_test.rake +13 -4
- data/spec/deep_test/options_spec.rb +80 -59
- data/spec/deep_test/spec/extensions/example_methods_spec.rb +5 -4
- data/spec/deep_test/spec/extensions/spec_task_spec.rb +4 -6
- data/spec/deep_test/spec/runner_spec.rb +59 -32
- data/spec/spec_helper.rb +14 -6
- data/test/deep_test/agent_test.rb +175 -0
- data/test/deep_test/central_command_test.rb +147 -0
- data/test/deep_test/cpu_info_test.rb +33 -0
- data/test/deep_test/database/mysql_setup_listener_test.rb +13 -9
- data/test/deep_test/demon_test.rb +23 -0
- data/test/deep_test/distributed/beachhead_test.rb +67 -0
- data/test/deep_test/distributed/dispatch_controller_test.rb +130 -177
- data/test/deep_test/distributed/filename_resolver_test.rb +38 -34
- data/test/deep_test/distributed/landing_fleet_test.rb +55 -0
- data/test/deep_test/distributed/landing_ship_test.rb +48 -0
- data/test/deep_test/distributed/remote_deployment_test.rb +134 -0
- data/test/deep_test/distributed/rsync_test.rb +42 -62
- data/test/deep_test/distributed/shell_environment_fixtures/set_bar_to_foo +1 -0
- data/test/deep_test/distributed/shell_environment_fixtures/set_foo_to_bar +1 -0
- data/test/deep_test/distributed/shell_environment_fixtures/set_foo_to_baz +1 -0
- data/test/deep_test/distributed/shell_environment_test.rb +108 -0
- data/test/deep_test/distributed/ssh_client_connection_info_test.rb +34 -0
- data/test/deep_test/listener_list_test.rb +17 -15
- data/test/deep_test/local_deployment_test.rb +19 -0
- data/test/deep_test/logger_test.rb +34 -7
- data/test/deep_test/main_test.rb +12 -0
- data/test/deep_test/marshallable_exception_wrapper_test.rb +31 -29
- data/test/deep_test/metrics/data_test.rb +22 -0
- data/test/deep_test/metrics/measurement_test.rb +18 -0
- data/test/deep_test/proxy_io_test.rb +104 -0
- data/test/deep_test/result_reader_test.rb +95 -95
- data/test/deep_test/test/extensions/error_test.rb +38 -36
- data/test/deep_test/test/runner_test.rb +7 -3
- data/test/deep_test/test/supervised_test_suite_test.rb +89 -61
- data/test/deep_test/test/work_result_test.rb +80 -76
- data/test/deep_test/test/work_unit_test.rb +53 -51
- data/test/deep_test/test_task_test.rb +10 -38
- data/test/deep_test/ui/console_test.rb +8 -4
- data/test/deep_test/warlock_test.rb +33 -31
- data/test/test_helper.rb +20 -5
- data/test/test_task_test.rb +60 -57
- metadata +94 -84
- data/bin/deep_test +0 -15
- data/jstorimer-deep-test-0.1.0.gem +0 -0
- data/jstorimer-deep-test.gemspec +0 -1425
- data/lib/deep_test/distributed/drb_client_connection_info.rb +0 -15
- data/lib/deep_test/distributed/master_test_server.rb +0 -52
- data/lib/deep_test/distributed/multi_test_server_proxy.rb +0 -44
- data/lib/deep_test/distributed/null_work_unit.rb +0 -12
- data/lib/deep_test/distributed/remote_worker_client.rb +0 -54
- data/lib/deep_test/distributed/remote_worker_server.rb +0 -82
- data/lib/deep_test/distributed/show_status.rhtml +0 -41
- data/lib/deep_test/distributed/test_server.rb +0 -78
- data/lib/deep_test/distributed/test_server_status.rb +0 -9
- data/lib/deep_test/distributed/test_server_workers.rb +0 -24
- data/lib/deep_test/distributed/throughput_runner.rb +0 -42
- data/lib/deep_test/distributed/throughput_statistics.rb +0 -26
- data/lib/deep_test/distributed/throughput_worker_client.rb +0 -19
- data/lib/deep_test/extensions/drb_extension.rb +0 -34
- data/lib/deep_test/local_workers.rb +0 -55
- data/lib/deep_test/metrics/gatherer.rb +0 -67
- data/lib/deep_test/metrics/queue_lock_wait_time_measurement.rb +0 -133
- data/lib/deep_test/option.rb +0 -60
- data/lib/deep_test/process_orchestrator.rb +0 -49
- data/lib/deep_test/server.rb +0 -75
- data/lib/deep_test/spec/extensions/reporter.rb +0 -29
- data/lib/deep_test/worker.rb +0 -57
- data/script/internal/run_test_suite.rb +0 -7
- data/script/public/master_test_server.rb +0 -24
- data/script/public/test_server.rb +0 -18
- data/script/public/test_throughput.rb +0 -29
- data/spec/deep_test/option_spec.rb +0 -33
- data/spec/thread_worker.rb +0 -25
- data/test/deep_test/distributed/drb_client_connection_info_test.rb +0 -42
- data/test/deep_test/distributed/master_test_server_test.rb +0 -32
- data/test/deep_test/distributed/multi_test_server_proxy_test.rb +0 -96
- data/test/deep_test/distributed/remote_worker_client_test.rb +0 -180
- data/test/deep_test/distributed/remote_worker_server_test.rb +0 -99
- data/test/deep_test/distributed/test_server_test.rb +0 -94
- data/test/deep_test/distributed/test_server_workers_test.rb +0 -26
- data/test/deep_test/distributed/throughput_runner_test.rb +0 -68
- data/test/deep_test/distributed/throughput_worker_client_test.rb +0 -28
- data/test/deep_test/local_workers_test.rb +0 -22
- data/test/deep_test/metrics/gatherer_test.rb +0 -66
- data/test/deep_test/process_orchestrator_test.rb +0 -11
- data/test/deep_test/server_test.rb +0 -58
- data/test/deep_test/worker_test.rb +0 -94
- data/test/failing.rake +0 -11
- data/test/simple_test_blackboard.rb +0 -45
- data/test/simple_test_blackboard_test.rb +0 -33
@@ -1,43 +1,15 @@
|
|
1
1
|
require File.dirname(__FILE__) + '/../test_helper'
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
t.
|
7
|
-
|
8
|
-
|
3
|
+
module DeepTest
|
4
|
+
unit_tests do
|
5
|
+
test "should support listener" do
|
6
|
+
t = TestTask.new :deep_test do |t|
|
7
|
+
t.stubs(:desc)
|
8
|
+
t.stubs(:task)
|
9
|
+
t.listener = "A"
|
10
|
+
end
|
11
|
+
assert_equal "A", t.instance_variable_get(:@options).listener
|
12
|
+
assert_equal "A", t.listener
|
9
13
|
end
|
10
|
-
assert_equal 20, t.instance_variable_get(:@options).timeout_in_seconds
|
11
|
-
assert_equal 20, t.timeout_in_seconds
|
12
|
-
end
|
13
|
-
|
14
|
-
test "should support setting distributed_server" do
|
15
|
-
t = DeepTest::TestTask.new :deep_test do |t|
|
16
|
-
t.stubs(:desc)
|
17
|
-
t.stubs(:task)
|
18
|
-
t.distributed_server = "uri"
|
19
|
-
end
|
20
|
-
assert_equal "uri", t.instance_variable_get(:@options).distributed_server
|
21
|
-
assert_equal "uri", t.distributed_server
|
22
|
-
end
|
23
|
-
|
24
|
-
test "should support worker_listener" do
|
25
|
-
t = DeepTest::TestTask.new :deep_test do |t|
|
26
|
-
t.stubs(:desc)
|
27
|
-
t.stubs(:task)
|
28
|
-
t.worker_listener = "A"
|
29
|
-
end
|
30
|
-
assert_equal "A", t.instance_variable_get(:@options).worker_listener
|
31
|
-
assert_equal "A", t.worker_listener
|
32
|
-
end
|
33
|
-
|
34
|
-
test "should support server_port" do
|
35
|
-
t = DeepTest::TestTask.new :deep_test do |t|
|
36
|
-
t.stubs(:desc)
|
37
|
-
t.stubs(:task)
|
38
|
-
t.server_port = 10
|
39
|
-
end
|
40
|
-
assert_equal 10, t.instance_variable_get(:@options).server_port
|
41
|
-
assert_equal 10, t.server_port
|
42
14
|
end
|
43
15
|
end
|
@@ -1,9 +1,13 @@
|
|
1
1
|
require File.dirname(__FILE__) + "/../../test_helper"
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
3
|
+
module DeepTest
|
4
|
+
module UI
|
5
|
+
unit_tests do
|
6
|
+
test "dispatch_finished doesn't fail if spinner is nil" do
|
7
|
+
assert_nothing_raised do
|
8
|
+
Console.new(:options).dispatch_finished(:method_name)
|
9
|
+
end
|
10
|
+
end
|
7
11
|
end
|
8
12
|
end
|
9
13
|
end
|
@@ -1,38 +1,40 @@
|
|
1
1
|
require File.dirname(__FILE__) + '/../test_helper'
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
3
|
+
module DeepTest
|
4
|
+
unit_tests do
|
5
|
+
test "running? is true if sending kill(0, pid) does not fail" do
|
6
|
+
warlock = Warlock.new Options.new({})
|
7
|
+
Process.expects(:kill).with(0, :pid)
|
8
|
+
assert_equal true, warlock.running?(:pid)
|
9
|
+
end
|
10
|
+
|
11
|
+
test "running? is false if Process.kill(0, pid) raises Errno::ESRCH" do
|
12
|
+
warlock = Warlock.new Options.new({})
|
13
|
+
Process.stubs(:kill).raises(Errno::ESRCH)
|
14
|
+
assert_equal false, warlock.running?(:pid)
|
15
|
+
end
|
16
|
+
|
17
|
+
test "running? is true if Process.kill raises Exception" do
|
18
|
+
warlock = Warlock.new Options.new({})
|
19
|
+
Process.stubs(:kill).raises(Exception)
|
20
|
+
assert_equal true, warlock.running?(:pid)
|
21
|
+
end
|
21
22
|
|
22
|
-
|
23
|
-
|
24
|
-
|
23
|
+
test "demon_count is 0 initially" do
|
24
|
+
assert_equal 0, Warlock.new(Options.new({})).demon_count
|
25
|
+
end
|
25
26
|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
27
|
+
test "add_demon increases demon_count by 1" do
|
28
|
+
warlock = Warlock.new Options.new({})
|
29
|
+
warlock.send(:add_demon, "name", 1)
|
30
|
+
assert_equal 1, warlock.demon_count
|
31
|
+
end
|
31
32
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
33
|
+
test "remove_demon increases demon_count by 1" do
|
34
|
+
warlock = Warlock.new Options.new({})
|
35
|
+
warlock.send(:add_demon, "name", 1)
|
36
|
+
warlock.send(:remove_demon, "name", 1)
|
37
|
+
assert_equal 0, warlock.demon_count
|
38
|
+
end
|
37
39
|
end
|
38
40
|
end
|
data/test/test_helper.rb
CHANGED
@@ -2,14 +2,29 @@ require 'rubygems'
|
|
2
2
|
require 'test/unit'
|
3
3
|
require 'dust'
|
4
4
|
require 'mocha'
|
5
|
+
require 'set'
|
6
|
+
|
5
7
|
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + "/../lib")
|
6
8
|
require "deep_test"
|
7
|
-
require 'set'
|
8
9
|
|
9
|
-
require File.dirname(__FILE__) + "/
|
10
|
-
require File.dirname(__FILE__) + "/simple_test_blackboard"
|
11
|
-
require File.dirname(__FILE__) + "/test_factory"
|
12
|
-
require File.dirname(__FILE__) + "/../spec/thread_worker"
|
10
|
+
require File.dirname(__FILE__) + "/../infrastructure/load"
|
13
11
|
|
14
12
|
class SomeCustomException < RuntimeError
|
15
13
|
end
|
14
|
+
|
15
|
+
class Test::Unit::TestCase
|
16
|
+
def setup
|
17
|
+
@old_logger = DeepTest.logger
|
18
|
+
DeepTest.logger = TestLogger.new
|
19
|
+
DynamicTeardown.setup
|
20
|
+
end
|
21
|
+
|
22
|
+
def teardown
|
23
|
+
DeepTest.logger = @old_logger if @old_logger
|
24
|
+
DynamicTeardown.teardown
|
25
|
+
end
|
26
|
+
|
27
|
+
def at(time, &block)
|
28
|
+
Timewarp.freeze(time, &block)
|
29
|
+
end
|
30
|
+
end
|
data/test/test_task_test.rb
CHANGED
@@ -1,72 +1,75 @@
|
|
1
1
|
require File.dirname(__FILE__) + "/test_helper"
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
3
|
+
module DeepTest
|
4
|
+
unit_tests do
|
5
|
+
test "defines a rake task with the name passed to the constructor" do
|
6
|
+
TestTask.any_instance.stubs(:desc)
|
7
|
+
TestTask.any_instance.expects(:task).with(:my_task_name)
|
8
|
+
TestTask.new :my_task_name do
|
9
|
+
end
|
8
10
|
end
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
11
|
+
|
12
|
+
test "setting pattern" do
|
13
|
+
pattern = "test/**/x*_test.rb"
|
14
|
+
task = TestTask.new do |t|
|
15
|
+
t.stubs(:define)
|
16
|
+
t.pattern = pattern
|
17
|
+
end
|
18
|
+
assert_equal pattern, task.pattern[-pattern.size..-1]
|
16
19
|
end
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
20
|
+
|
21
|
+
test "default pattern is test/**/*_test.rb" do
|
22
|
+
task = TestTask.new do |t|
|
23
|
+
t.stubs(:define)
|
24
|
+
end
|
25
|
+
assert_equal "test/**/*_test.rb", task.pattern[-"test/**/*_test.rb".size..-1]
|
23
26
|
end
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
27
|
+
|
28
|
+
test "default libs is ['lib']" do
|
29
|
+
task = TestTask.new do |t|
|
30
|
+
t.stubs(:define)
|
31
|
+
end
|
32
|
+
assert_equal ["lib"], task.libs
|
30
33
|
end
|
31
|
-
assert_equal ["lib"], task.libs
|
32
|
-
end
|
33
34
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
35
|
+
test "can add to libs" do
|
36
|
+
task = TestTask.new do |t|
|
37
|
+
t.libs << "test"
|
38
|
+
t.stubs(:define)
|
39
|
+
end
|
40
|
+
assert_equal ["lib", "test"], task.libs
|
38
41
|
end
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
42
|
+
|
43
|
+
test "define passes the -I option to the call to ruby" do
|
44
|
+
task = TestTask.new do |t|
|
45
|
+
t.libs << "test"
|
46
|
+
end
|
47
|
+
task.expects(:ruby).with(includes("-Ilib:test"))
|
48
|
+
Rake::Task["deep_test"].instance_variable_get("@actions").last.call
|
45
49
|
end
|
46
|
-
task.expects(:ruby).with(includes("-Ilib:test"))
|
47
|
-
Rake::Task["deep_test"].instance_variable_get("@actions").last.call
|
48
|
-
end
|
49
50
|
|
50
|
-
|
51
|
-
|
52
|
-
|
51
|
+
test "define does not pass the -I option to the call to ruby if there are no directories to add to the load path" do
|
52
|
+
task = TestTask.new do |t|
|
53
|
+
t.libs = []
|
54
|
+
end
|
55
|
+
task.expects(:ruby).with(Not(includes("-I")))
|
56
|
+
Rake::Task["deep_test"].instance_variable_get("@actions").last.call
|
53
57
|
end
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
58
|
+
|
59
|
+
test "number_of_agents defaults to count from CpuInfo" do
|
60
|
+
task = TestTask.new do |t|
|
61
|
+
t.stubs(:define)
|
62
|
+
end
|
63
|
+
CpuInfo.expects(:new).returns stub(:count => 2)
|
64
|
+
assert_equal 2, task.number_of_agents
|
61
65
|
end
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
66
|
+
|
67
|
+
test "number_of_agents can be set" do
|
68
|
+
task = TestTask.new do |t|
|
69
|
+
t.number_of_agents = 42
|
70
|
+
t.stubs(:define)
|
71
|
+
end
|
72
|
+
assert_equal 42, task.number_of_agents
|
69
73
|
end
|
70
|
-
assert_equal 42, task.number_of_workers
|
71
74
|
end
|
72
75
|
end
|
metadata
CHANGED
@@ -1,26 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jstorimer-deep-test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- anonymous z, Dan Manges, David Vollbracht
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
13
|
-
default_executable:
|
12
|
+
date: 2010-02-04 00:00:00 -05:00
|
13
|
+
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
16
|
-
description:
|
17
|
-
email:
|
18
|
-
executables:
|
19
|
-
|
16
|
+
description: DeepTest runs tests in multiple processes.
|
17
|
+
email: daniel.manges@gmail.com
|
18
|
+
executables: []
|
19
|
+
|
20
20
|
extensions: []
|
21
21
|
|
22
22
|
extra_rdoc_files:
|
23
23
|
- README.rdoc
|
24
|
+
- TODO
|
24
25
|
files:
|
25
26
|
- .gitignore
|
26
27
|
- CHANGELOG
|
@@ -28,56 +29,64 @@ files:
|
|
28
29
|
- Rakefile
|
29
30
|
- TODO
|
30
31
|
- VERSION
|
31
|
-
-
|
32
|
-
-
|
33
|
-
-
|
32
|
+
- infrastructure/dynamic_teardown.rb
|
33
|
+
- infrastructure/fake_deadlock_error.rb
|
34
|
+
- infrastructure/load.rb
|
35
|
+
- infrastructure/test_central_command.rb
|
36
|
+
- infrastructure/test_exception.rb
|
37
|
+
- infrastructure/test_factory.rb
|
38
|
+
- infrastructure/test_logger.rb
|
39
|
+
- infrastructure/test_operator.rb
|
40
|
+
- infrastructure/test_result.rb
|
41
|
+
- infrastructure/thread_agent.rb
|
42
|
+
- infrastructure/timewarp/Rakefile
|
43
|
+
- infrastructure/timewarp/lib/timewarp.rb
|
44
|
+
- infrastructure/timewarp/test/timewarp_test.rb
|
34
45
|
- lib/deep_test.rb
|
46
|
+
- lib/deep_test/agent.rb
|
47
|
+
- lib/deep_test/central_command.rb
|
48
|
+
- lib/deep_test/cpu_info.rb
|
35
49
|
- lib/deep_test/database/mysql_setup_listener.rb
|
36
50
|
- lib/deep_test/database/setup_listener.rb
|
37
51
|
- lib/deep_test/deadlock_detector.rb
|
52
|
+
- lib/deep_test/demon.rb
|
53
|
+
- lib/deep_test/distributed/beachhead.rb
|
38
54
|
- lib/deep_test/distributed/dispatch_controller.rb
|
39
|
-
- lib/deep_test/distributed/
|
55
|
+
- lib/deep_test/distributed/establish_beachhead.rb
|
40
56
|
- lib/deep_test/distributed/filename_resolver.rb
|
41
|
-
- lib/deep_test/distributed/
|
42
|
-
- lib/deep_test/distributed/
|
43
|
-
- lib/deep_test/distributed/
|
44
|
-
- lib/deep_test/distributed/remote_worker_client.rb
|
45
|
-
- lib/deep_test/distributed/remote_worker_server.rb
|
57
|
+
- lib/deep_test/distributed/landing_fleet.rb
|
58
|
+
- lib/deep_test/distributed/landing_ship.rb
|
59
|
+
- lib/deep_test/distributed/remote_deployment.rb
|
46
60
|
- lib/deep_test/distributed/rsync.rb
|
47
|
-
- lib/deep_test/distributed/
|
48
|
-
- lib/deep_test/distributed/
|
49
|
-
- lib/deep_test/distributed/test_server_status.rb
|
50
|
-
- lib/deep_test/distributed/test_server_workers.rb
|
51
|
-
- lib/deep_test/distributed/throughput_runner.rb
|
52
|
-
- lib/deep_test/distributed/throughput_statistics.rb
|
53
|
-
- lib/deep_test/distributed/throughput_worker_client.rb
|
54
|
-
- lib/deep_test/extensions/drb_extension.rb
|
61
|
+
- lib/deep_test/distributed/shell_environment.rb
|
62
|
+
- lib/deep_test/distributed/ssh_client_connection_info.rb
|
55
63
|
- lib/deep_test/extensions/object_extension.rb
|
64
|
+
- lib/deep_test/failure_message.rb
|
65
|
+
- lib/deep_test/lib_root.rb
|
56
66
|
- lib/deep_test/listener_list.rb
|
57
|
-
- lib/deep_test/
|
67
|
+
- lib/deep_test/local_deployment.rb
|
58
68
|
- lib/deep_test/logger.rb
|
69
|
+
- lib/deep_test/main.rb
|
59
70
|
- lib/deep_test/marshallable_exception_wrapper.rb
|
60
|
-
- lib/deep_test/metrics/
|
61
|
-
- lib/deep_test/metrics/
|
62
|
-
- lib/deep_test/
|
63
|
-
- lib/deep_test/option.rb
|
71
|
+
- lib/deep_test/metrics/data.rb
|
72
|
+
- lib/deep_test/metrics/measurement.rb
|
73
|
+
- lib/deep_test/null_listener.rb
|
64
74
|
- lib/deep_test/options.rb
|
65
|
-
- lib/deep_test/
|
75
|
+
- lib/deep_test/proxy_io.rb
|
66
76
|
- lib/deep_test/rake_tasks.rb
|
67
77
|
- lib/deep_test/result_reader.rb
|
68
78
|
- lib/deep_test/rspec_detector.rb
|
69
|
-
- lib/deep_test/server.rb
|
70
79
|
- lib/deep_test/spec.rb
|
71
80
|
- lib/deep_test/spec/extensions/example_group_methods.rb
|
72
81
|
- lib/deep_test/spec/extensions/example_methods.rb
|
73
82
|
- lib/deep_test/spec/extensions/options.rb
|
74
|
-
- lib/deep_test/spec/extensions/reporter.rb
|
75
83
|
- lib/deep_test/spec/extensions/spec_task.rb
|
76
84
|
- lib/deep_test/spec/runner.rb
|
77
85
|
- lib/deep_test/spec/work_result.rb
|
78
86
|
- lib/deep_test/spec/work_unit.rb
|
79
87
|
- lib/deep_test/test.rb
|
80
88
|
- lib/deep_test/test/extensions/error.rb
|
89
|
+
- lib/deep_test/test/run_test_suite.rb
|
81
90
|
- lib/deep_test/test/runner.rb
|
82
91
|
- lib/deep_test/test/supervised_test_suite.rb
|
83
92
|
- lib/deep_test/test/work_result.rb
|
@@ -86,7 +95,22 @@ files:
|
|
86
95
|
- lib/deep_test/ui/console.rb
|
87
96
|
- lib/deep_test/ui/null.rb
|
88
97
|
- lib/deep_test/warlock.rb
|
89
|
-
- lib/
|
98
|
+
- lib/telegraph.rb
|
99
|
+
- lib/telegraph/ack_sequence.rb
|
100
|
+
- lib/telegraph/logging.rb
|
101
|
+
- lib/telegraph/message.rb
|
102
|
+
- lib/telegraph/operator.rb
|
103
|
+
- lib/telegraph/switchboard.rb
|
104
|
+
- lib/telegraph/wire.rb
|
105
|
+
- negative_acceptance_tests/dying_spec.rb
|
106
|
+
- negative_acceptance_tests/dying_test.rb
|
107
|
+
- negative_acceptance_tests/failing_spec.rb
|
108
|
+
- negative_acceptance_tests/failing_test.rb
|
109
|
+
- negative_acceptance_tests/kill_agent_one_on_start_work.rb
|
110
|
+
- negative_acceptance_tests/passing_spec.rb
|
111
|
+
- negative_acceptance_tests/passing_test.rb
|
112
|
+
- negative_acceptance_tests/tasks.rake
|
113
|
+
- negative_acceptance_tests/tests.rb
|
90
114
|
- sample_rails_project/README
|
91
115
|
- sample_rails_project/Rakefile
|
92
116
|
- sample_rails_project/app/controllers/application.rb
|
@@ -106,7 +130,7 @@ files:
|
|
106
130
|
- sample_rails_project/db/schema.rb
|
107
131
|
- sample_rails_project/deep_test.rb
|
108
132
|
- sample_rails_project/doc/README_FOR_APP
|
109
|
-
- sample_rails_project/lib/
|
133
|
+
- sample_rails_project/lib/foreign_host_agent_simulation_listener.rb
|
110
134
|
- sample_rails_project/lib/tasks/create.sql
|
111
135
|
- sample_rails_project/lib/tasks/db.rake
|
112
136
|
- sample_rails_project/lib/tasks/deep_test.rake
|
@@ -1301,11 +1325,6 @@ files:
|
|
1301
1325
|
- sample_rails_project/vendor/rails/railties/lib/tasks/tmp.rake
|
1302
1326
|
- sample_rails_project/vendor/rails/railties/lib/test_help.rb
|
1303
1327
|
- sample_rails_project/vendor/rails/railties/lib/webrick_server.rb
|
1304
|
-
- script/internal/run_test_suite.rb
|
1305
|
-
- script/public/master_test_server.rb
|
1306
|
-
- script/public/test_server.rb
|
1307
|
-
- script/public/test_throughput.rb
|
1308
|
-
- spec/deep_test/option_spec.rb
|
1309
1328
|
- spec/deep_test/options_spec.rb
|
1310
1329
|
- spec/deep_test/spec/extensions/example_group_methods_spec.rb
|
1311
1330
|
- spec/deep_test/spec/extensions/example_methods_spec.rb
|
@@ -1317,29 +1336,33 @@ files:
|
|
1317
1336
|
- spec/deep_test/spec/work_unit_spec.rb
|
1318
1337
|
- spec/spec.opts
|
1319
1338
|
- spec/spec_helper.rb
|
1320
|
-
-
|
1339
|
+
- test/deep_test/agent_test.rb
|
1340
|
+
- test/deep_test/central_command_test.rb
|
1341
|
+
- test/deep_test/cpu_info_test.rb
|
1321
1342
|
- test/deep_test/database/mysql_setup_listener_test.rb
|
1343
|
+
- test/deep_test/demon_test.rb
|
1344
|
+
- test/deep_test/distributed/beachhead_test.rb
|
1322
1345
|
- test/deep_test/distributed/dispatch_controller_test.rb
|
1323
|
-
- test/deep_test/distributed/drb_client_connection_info_test.rb
|
1324
1346
|
- test/deep_test/distributed/filename_resolver_test.rb
|
1325
|
-
- test/deep_test/distributed/
|
1326
|
-
- test/deep_test/distributed/
|
1327
|
-
- test/deep_test/distributed/
|
1328
|
-
- test/deep_test/distributed/remote_worker_server_test.rb
|
1347
|
+
- test/deep_test/distributed/landing_fleet_test.rb
|
1348
|
+
- test/deep_test/distributed/landing_ship_test.rb
|
1349
|
+
- test/deep_test/distributed/remote_deployment_test.rb
|
1329
1350
|
- test/deep_test/distributed/rsync_test.rb
|
1330
|
-
- test/deep_test/distributed/
|
1331
|
-
- test/deep_test/distributed/
|
1332
|
-
- test/deep_test/distributed/
|
1333
|
-
- test/deep_test/distributed/
|
1351
|
+
- test/deep_test/distributed/shell_environment_fixtures/set_bar_to_foo
|
1352
|
+
- test/deep_test/distributed/shell_environment_fixtures/set_foo_to_bar
|
1353
|
+
- test/deep_test/distributed/shell_environment_fixtures/set_foo_to_baz
|
1354
|
+
- test/deep_test/distributed/shell_environment_test.rb
|
1355
|
+
- test/deep_test/distributed/ssh_client_connection_info_test.rb
|
1334
1356
|
- test/deep_test/extensions/object_extension_test.rb
|
1335
1357
|
- test/deep_test/listener_list_test.rb
|
1336
|
-
- test/deep_test/
|
1358
|
+
- test/deep_test/local_deployment_test.rb
|
1337
1359
|
- test/deep_test/logger_test.rb
|
1360
|
+
- test/deep_test/main_test.rb
|
1338
1361
|
- test/deep_test/marshallable_exception_wrapper_test.rb
|
1339
|
-
- test/deep_test/metrics/
|
1340
|
-
- test/deep_test/
|
1362
|
+
- test/deep_test/metrics/data_test.rb
|
1363
|
+
- test/deep_test/metrics/measurement_test.rb
|
1364
|
+
- test/deep_test/proxy_io_test.rb
|
1341
1365
|
- test/deep_test/result_reader_test.rb
|
1342
|
-
- test/deep_test/server_test.rb
|
1343
1366
|
- test/deep_test/test/extensions/error_test.rb
|
1344
1367
|
- test/deep_test/test/runner_test.rb
|
1345
1368
|
- test/deep_test/test/supervised_test_suite_test.rb
|
@@ -1348,17 +1371,10 @@ files:
|
|
1348
1371
|
- test/deep_test/test_task_test.rb
|
1349
1372
|
- test/deep_test/ui/console_test.rb
|
1350
1373
|
- test/deep_test/warlock_test.rb
|
1351
|
-
- test/deep_test/worker_test.rb
|
1352
|
-
- test/failing.rake
|
1353
|
-
- test/failing.rb
|
1354
|
-
- test/fake_deadlock_error.rb
|
1355
|
-
- test/simple_test_blackboard.rb
|
1356
|
-
- test/simple_test_blackboard_test.rb
|
1357
|
-
- test/test_factory.rb
|
1358
1374
|
- test/test_helper.rb
|
1359
1375
|
- test/test_task_test.rb
|
1360
1376
|
has_rdoc: true
|
1361
|
-
homepage: http://
|
1377
|
+
homepage: http://deep-test.rubyforge.org
|
1362
1378
|
licenses: []
|
1363
1379
|
|
1364
1380
|
post_install_message:
|
@@ -1384,9 +1400,8 @@ rubyforge_project:
|
|
1384
1400
|
rubygems_version: 1.3.5
|
1385
1401
|
signing_key:
|
1386
1402
|
specification_version: 3
|
1387
|
-
summary:
|
1403
|
+
summary: DeepTest runs tests in multiple processes.
|
1388
1404
|
test_files:
|
1389
|
-
- spec/deep_test/option_spec.rb
|
1390
1405
|
- spec/deep_test/options_spec.rb
|
1391
1406
|
- spec/deep_test/spec/extensions/example_group_methods_spec.rb
|
1392
1407
|
- spec/deep_test/spec/extensions/example_methods_spec.rb
|
@@ -1397,29 +1412,30 @@ test_files:
|
|
1397
1412
|
- spec/deep_test/spec/work_result_spec.rb
|
1398
1413
|
- spec/deep_test/spec/work_unit_spec.rb
|
1399
1414
|
- spec/spec_helper.rb
|
1400
|
-
-
|
1415
|
+
- test/deep_test/agent_test.rb
|
1416
|
+
- test/deep_test/central_command_test.rb
|
1417
|
+
- test/deep_test/cpu_info_test.rb
|
1401
1418
|
- test/deep_test/database/mysql_setup_listener_test.rb
|
1419
|
+
- test/deep_test/demon_test.rb
|
1420
|
+
- test/deep_test/distributed/beachhead_test.rb
|
1402
1421
|
- test/deep_test/distributed/dispatch_controller_test.rb
|
1403
|
-
- test/deep_test/distributed/drb_client_connection_info_test.rb
|
1404
1422
|
- test/deep_test/distributed/filename_resolver_test.rb
|
1405
|
-
- test/deep_test/distributed/
|
1406
|
-
- test/deep_test/distributed/
|
1407
|
-
- test/deep_test/distributed/
|
1408
|
-
- test/deep_test/distributed/remote_worker_server_test.rb
|
1423
|
+
- test/deep_test/distributed/landing_fleet_test.rb
|
1424
|
+
- test/deep_test/distributed/landing_ship_test.rb
|
1425
|
+
- test/deep_test/distributed/remote_deployment_test.rb
|
1409
1426
|
- test/deep_test/distributed/rsync_test.rb
|
1410
|
-
- test/deep_test/distributed/
|
1411
|
-
- test/deep_test/distributed/
|
1412
|
-
- test/deep_test/distributed/throughput_runner_test.rb
|
1413
|
-
- test/deep_test/distributed/throughput_worker_client_test.rb
|
1427
|
+
- test/deep_test/distributed/shell_environment_test.rb
|
1428
|
+
- test/deep_test/distributed/ssh_client_connection_info_test.rb
|
1414
1429
|
- test/deep_test/extensions/object_extension_test.rb
|
1415
1430
|
- test/deep_test/listener_list_test.rb
|
1416
|
-
- test/deep_test/
|
1431
|
+
- test/deep_test/local_deployment_test.rb
|
1417
1432
|
- test/deep_test/logger_test.rb
|
1433
|
+
- test/deep_test/main_test.rb
|
1418
1434
|
- test/deep_test/marshallable_exception_wrapper_test.rb
|
1419
|
-
- test/deep_test/metrics/
|
1420
|
-
- test/deep_test/
|
1435
|
+
- test/deep_test/metrics/data_test.rb
|
1436
|
+
- test/deep_test/metrics/measurement_test.rb
|
1437
|
+
- test/deep_test/proxy_io_test.rb
|
1421
1438
|
- test/deep_test/result_reader_test.rb
|
1422
|
-
- test/deep_test/server_test.rb
|
1423
1439
|
- test/deep_test/test/extensions/error_test.rb
|
1424
1440
|
- test/deep_test/test/runner_test.rb
|
1425
1441
|
- test/deep_test/test/supervised_test_suite_test.rb
|
@@ -1428,11 +1444,5 @@ test_files:
|
|
1428
1444
|
- test/deep_test/test_task_test.rb
|
1429
1445
|
- test/deep_test/ui/console_test.rb
|
1430
1446
|
- test/deep_test/warlock_test.rb
|
1431
|
-
- test/deep_test/worker_test.rb
|
1432
|
-
- test/failing.rb
|
1433
|
-
- test/fake_deadlock_error.rb
|
1434
|
-
- test/simple_test_blackboard.rb
|
1435
|
-
- test/simple_test_blackboard_test.rb
|
1436
|
-
- test/test_factory.rb
|
1437
1447
|
- test/test_helper.rb
|
1438
1448
|
- test/test_task_test.rb
|