assert 0.7.3 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +16 -4
- data/{CHANGELOG.rdoc → CHANGELOG.md} +14 -3
- data/LICENSE +22 -0
- data/README.md +261 -0
- data/Rakefile +1 -1
- data/assert.gemspec +2 -1
- data/lib/assert/assertions.rb +16 -0
- data/lib/assert/autorun.rb +11 -7
- data/lib/assert/macros/methods.rb +49 -3
- data/lib/assert/rake_tasks.rb +13 -7
- data/lib/assert/rake_tasks/irb.rb +1 -1
- data/lib/assert/rake_tasks/scope.rb +55 -28
- data/lib/assert/rake_tasks/test_task.rb +4 -1
- data/lib/assert/result.rb +7 -9
- data/lib/assert/result_set.rb +7 -4
- data/lib/assert/runner.rb +10 -10
- data/lib/assert/setup/helpers.rb +5 -3
- data/lib/assert/setup/runner.rb +2 -3
- data/lib/assert/setup/suite.rb +2 -5
- data/lib/assert/setup/view.rb +26 -3
- data/lib/assert/test.rb +56 -37
- data/lib/assert/version.rb +1 -1
- data/lib/assert/view/base.rb +75 -0
- data/lib/assert/view/default_view.rb +75 -0
- data/lib/assert/view/helpers/ansi_styles.rb +25 -0
- data/lib/assert/view/helpers/capture_output.rb +23 -0
- data/lib/assert/view/helpers/common.rb +154 -0
- data/test/assertions/assert_file_exists_test.rb +43 -0
- data/test/assertions/assert_not_file_exists_test.rb +43 -0
- data/test/assertions_test.rb +4 -1
- data/test/macro_test.rb +25 -0
- data/test/rake_tasks/irb_test.rb +2 -2
- data/test/rake_tasks/scope_test.rb +9 -9
- data/test/result_set_test.rb +13 -23
- data/test/runner_test.rb +1 -1
- data/test/test/{running_test.rb → running_tests.rb} +14 -14
- data/test/view/base_tests.rb +65 -0
- metadata +29 -18
- data/Gemfile.lock +0 -23
- data/README.rdoc +0 -183
data/test/assertions_test.rb
CHANGED
@@ -14,7 +14,9 @@ module Assert::Assertions
|
|
14
14
|
should have_instance_methods :assert_raises, :assert_raise, :assert_nothing_raised, :assert_not_raises, :assert_not_raise
|
15
15
|
should have_instance_methods :assert_kind_of, :assert_not_kind_of, :refute_kind_of
|
16
16
|
should have_instance_methods :assert_instance_of, :assert_not_instance_of, :refute_instance_of
|
17
|
-
should have_instance_methods :assert_respond_to, :
|
17
|
+
should have_instance_methods :assert_respond_to, :assert_responds_to
|
18
|
+
should have_instance_methods :assert_not_respond_to, :assert_not_responds_to
|
19
|
+
should have_instance_methods :refute_respond_to, :refute_responds_to
|
18
20
|
should have_instance_methods :assert_same, :assert_not_same, :refute_same
|
19
21
|
should have_instance_methods :assert_equal, :assert_not_equal, :refute_equal
|
20
22
|
should have_instance_methods :assert_match, :assert_not_match, :assert_no_match, :refute_match
|
@@ -22,6 +24,7 @@ module Assert::Assertions
|
|
22
24
|
should have_instance_methods :assert_includes, :assert_included
|
23
25
|
should have_instance_methods :assert_not_includes, :assert_not_included, :refute_includes, :refute_included
|
24
26
|
should have_instance_methods :assert_nil, :assert_not_nil, :refute_nil
|
27
|
+
should have_instance_methods :assert_file_exists, :assert_not_file_exists, :refute_file_exists
|
25
28
|
end
|
26
29
|
|
27
30
|
class IgnoredTest < BasicTest
|
data/test/macro_test.rb
CHANGED
@@ -47,6 +47,11 @@ class Assert::Macro
|
|
47
47
|
should have_instance_method :method_2, :method_3
|
48
48
|
should have_instance_methods :method_4
|
49
49
|
should have_instance_methods :method_5, :method_6
|
50
|
+
|
51
|
+
should not_have_instance_method :method_7
|
52
|
+
should not_have_instance_method :method_8, :method_9
|
53
|
+
should not_have_instance_methods :method_10
|
54
|
+
should not_have_instance_methods :method_11, :method_12
|
50
55
|
end
|
51
56
|
|
52
57
|
class ClassMethodsTest < Assert::Context
|
@@ -64,6 +69,11 @@ class Assert::Macro
|
|
64
69
|
should have_class_method :method_2, :method_3
|
65
70
|
should have_class_methods :method_4
|
66
71
|
should have_class_methods :method_5, :method_6
|
72
|
+
|
73
|
+
should not_have_class_method :method_7
|
74
|
+
should not_have_class_method :method_8, :method_9
|
75
|
+
should not_have_class_methods :method_10
|
76
|
+
should not_have_class_methods :method_11, :method_12
|
67
77
|
end
|
68
78
|
|
69
79
|
class ReadersTest < Assert::Context
|
@@ -79,6 +89,11 @@ class Assert::Macro
|
|
79
89
|
should have_reader :method_2, :method_3
|
80
90
|
should have_readers :method_4
|
81
91
|
should have_readers :method_5, :method_6
|
92
|
+
|
93
|
+
should not_have_reader :method_7
|
94
|
+
should not_have_reader :method_8, :method_9
|
95
|
+
should not_have_readers :method_10
|
96
|
+
should not_have_readers :method_11, :method_12
|
82
97
|
end
|
83
98
|
|
84
99
|
class WritersTest < Assert::Context
|
@@ -94,6 +109,11 @@ class Assert::Macro
|
|
94
109
|
should have_writer :method_2, :method_3
|
95
110
|
should have_writers :method_4
|
96
111
|
should have_writers :method_5, :method_6
|
112
|
+
|
113
|
+
should not_have_writer :method_7
|
114
|
+
should not_have_writer :method_8, :method_9
|
115
|
+
should not_have_writers :method_10
|
116
|
+
should not_have_writers :method_11, :method_12
|
97
117
|
end
|
98
118
|
|
99
119
|
class AccessorsTest < Assert::Context
|
@@ -109,6 +129,11 @@ class Assert::Macro
|
|
109
129
|
should have_accessor :method_2, :method_3
|
110
130
|
should have_accessors :method_4
|
111
131
|
should have_accessors :method_5, :method_6
|
132
|
+
|
133
|
+
should not_have_accessor :method_7
|
134
|
+
should not_have_accessor :method_8, :method_9
|
135
|
+
should not_have_accessors :method_10
|
136
|
+
should not_have_accessors :method_11, :method_12
|
112
137
|
end
|
113
138
|
|
114
139
|
end
|
data/test/rake_tasks/irb_test.rb
CHANGED
@@ -7,7 +7,7 @@ module Assert::RakeTasks
|
|
7
7
|
class IrbTests < Assert::Context
|
8
8
|
desc "the irb task handler"
|
9
9
|
setup do
|
10
|
-
@root_path =
|
10
|
+
@root_path = File.expand_path('../../../test', __FILE__)
|
11
11
|
@handler = Assert::RakeTasks::Irb.new(@root_path)
|
12
12
|
end
|
13
13
|
subject { @handler }
|
@@ -37,7 +37,7 @@ module Assert::RakeTasks
|
|
37
37
|
end
|
38
38
|
|
39
39
|
should "know the shell command to run the irb task" do
|
40
|
-
assert_equal "irb -rubygems -r
|
40
|
+
assert_equal "irb -rubygems -r #{subject.file_path}", subject.cmd
|
41
41
|
end
|
42
42
|
|
43
43
|
end
|
@@ -7,17 +7,17 @@ module Assert::RakeTasks
|
|
7
7
|
class ScopeTests < Assert::Context
|
8
8
|
desc "the scope rake tasks handler"
|
9
9
|
setup do
|
10
|
-
@scope_root = 'test/fixtures'
|
11
|
-
@
|
10
|
+
@scope_root = File.expand_path('../../../test/fixtures', __FILE__)
|
11
|
+
@scope = Assert::RakeTasks::Scope.new(File.join(@scope_root, 'test_root'))
|
12
12
|
end
|
13
|
-
subject { @
|
13
|
+
subject { @scope }
|
14
14
|
|
15
|
-
should have_class_methods :
|
16
|
-
should
|
17
|
-
should have_instance_methods :
|
15
|
+
should have_class_methods :test_file_suffixes
|
16
|
+
should have_readers :path, :nested_files, :path_file_list, :test_tasks, :scopes
|
17
|
+
should have_instance_methods :namespace, :to_test_task
|
18
18
|
|
19
19
|
should "know its the test file suffix" do
|
20
|
-
assert_equal
|
20
|
+
assert_equal ['_test.rb', '_tests.rb'], subject.class.test_file_suffixes
|
21
21
|
end
|
22
22
|
|
23
23
|
should "know its namespace" do
|
@@ -27,7 +27,7 @@ module Assert::RakeTasks
|
|
27
27
|
|
28
28
|
should "know its nested files" do
|
29
29
|
assert_equal 6, subject.nested_files.size
|
30
|
-
assert_empty Assert::RakeTasks::Scope.new('does/not/exist').nested_files
|
30
|
+
assert_empty Assert::RakeTasks::Scope.new('/does/not/exist').nested_files
|
31
31
|
|
32
32
|
h = Assert::RakeTasks::Scope.new("#{@scope_root}/test_root/shallow")
|
33
33
|
assert_equal 2, h.nested_files.size
|
@@ -41,7 +41,7 @@ module Assert::RakeTasks
|
|
41
41
|
end
|
42
42
|
|
43
43
|
should "convert to a test task" do
|
44
|
-
assert_not Assert::RakeTasks::Scope.new('does/not/exist').to_test_task
|
44
|
+
assert_not Assert::RakeTasks::Scope.new('/does/not/exist').to_test_task
|
45
45
|
|
46
46
|
tt = subject.to_test_task
|
47
47
|
assert_kind_of TestTask, tt
|
data/test/result_set_test.rb
CHANGED
@@ -4,20 +4,6 @@ require 'assert/result_set'
|
|
4
4
|
require 'assert/result'
|
5
5
|
require 'assert/view/base'
|
6
6
|
|
7
|
-
class FakeView < Assert::View::Base
|
8
|
-
attr_accessor :printed
|
9
|
-
|
10
|
-
def initialize(suite, output_io)
|
11
|
-
super
|
12
|
-
self.printed = []
|
13
|
-
end
|
14
|
-
|
15
|
-
def handle_runtime_result(result)
|
16
|
-
self.printed.push(result)
|
17
|
-
end
|
18
|
-
|
19
|
-
end
|
20
|
-
|
21
7
|
class Assert::ResultSet
|
22
8
|
|
23
9
|
class BasicTest < Assert::Context
|
@@ -27,15 +13,19 @@ class Assert::ResultSet
|
|
27
13
|
end
|
28
14
|
subject { @result_set }
|
29
15
|
|
30
|
-
should have_accessor :
|
16
|
+
should have_accessor :callback
|
17
|
+
|
18
|
+
should "be a extension of Array" do
|
19
|
+
assert_kind_of ::Array, subject
|
20
|
+
end
|
31
21
|
end
|
32
22
|
|
33
23
|
|
34
|
-
class
|
35
|
-
desc "
|
24
|
+
class CallbackTest < BasicTest
|
25
|
+
desc "using a callback"
|
36
26
|
setup do
|
37
|
-
@
|
38
|
-
@
|
27
|
+
@results = []
|
28
|
+
@result_set = Assert::ResultSet.new(Proc.new {|result| @results.push(result) })
|
39
29
|
|
40
30
|
@pass_result = Assert::Result::Pass.new(Factory.test("test"), "pass", [])
|
41
31
|
@result_set << @pass_result
|
@@ -49,28 +39,28 @@ class Assert::ResultSet
|
|
49
39
|
subject{ @view }
|
50
40
|
|
51
41
|
should "have 'printed' 1 pass result" do
|
52
|
-
pass_results = @
|
42
|
+
pass_results = @results.reject{|r| !r.pass? }
|
53
43
|
assert_equal 1, pass_results.size
|
54
44
|
assert_kind_of Assert::Result::Pass, pass_results.first
|
55
45
|
assert_equal @pass_result.test_name, pass_results.first.test_name
|
56
46
|
assert_equal @pass_result.message, pass_results.first.message
|
57
47
|
end
|
58
48
|
should "have 'printed' 1 fail result" do
|
59
|
-
fail_results = @
|
49
|
+
fail_results = @results.reject{|r| !r.fail? }
|
60
50
|
assert_equal 1, fail_results.size
|
61
51
|
assert_kind_of Assert::Result::Fail, fail_results.first
|
62
52
|
assert_equal @fail_result.test_name, fail_results.first.test_name
|
63
53
|
assert_equal @fail_result.message, fail_results.first.message
|
64
54
|
end
|
65
55
|
should "have 'printed' 1 skip result" do
|
66
|
-
skip_results = @
|
56
|
+
skip_results = @results.reject{|r| !r.skip? }
|
67
57
|
assert_equal 1, skip_results.size
|
68
58
|
assert_kind_of Assert::Result::Skip, skip_results.first
|
69
59
|
assert_equal @skip_result.test_name, skip_results.first.test_name
|
70
60
|
assert_equal @skip_result.message, skip_results.first.message
|
71
61
|
end
|
72
62
|
should "have 'printed' 1 error result" do
|
73
|
-
error_results = @
|
63
|
+
error_results = @results.reject{|r| !r.error? }
|
74
64
|
assert_equal 1, error_results.size
|
75
65
|
assert_kind_of Assert::Result::Error, error_results.first
|
76
66
|
assert_equal @error_result.test_name, error_results.first.test_name
|
data/test/runner_test.rb
CHANGED
@@ -2,12 +2,12 @@ require 'assert'
|
|
2
2
|
|
3
3
|
class Assert::Test
|
4
4
|
|
5
|
-
class
|
5
|
+
class RunningTests < Assert::Context
|
6
6
|
desc "Assert tests that are run"
|
7
7
|
subject{ @test }
|
8
8
|
end
|
9
9
|
|
10
|
-
class
|
10
|
+
class NothingTests < RunningTests
|
11
11
|
desc "and does nothing"
|
12
12
|
setup do
|
13
13
|
@test = Factory.test
|
@@ -22,7 +22,7 @@ class Assert::Test
|
|
22
22
|
|
23
23
|
|
24
24
|
|
25
|
-
class
|
25
|
+
class PassTests < RunningTests
|
26
26
|
desc "and passes a single assertion"
|
27
27
|
setup do
|
28
28
|
@test = Factory.test{ assert(1 == 1) }
|
@@ -40,7 +40,7 @@ class Assert::Test
|
|
40
40
|
|
41
41
|
|
42
42
|
|
43
|
-
class
|
43
|
+
class FailTests < RunningTests
|
44
44
|
desc "and fails a single assertion"
|
45
45
|
setup do
|
46
46
|
@test = Factory.test{ assert(1 == 0) }
|
@@ -58,7 +58,7 @@ class Assert::Test
|
|
58
58
|
|
59
59
|
|
60
60
|
|
61
|
-
class
|
61
|
+
class SkipTests < RunningTests
|
62
62
|
desc "and skips"
|
63
63
|
setup do
|
64
64
|
@test = Factory.test{ skip }
|
@@ -76,7 +76,7 @@ class Assert::Test
|
|
76
76
|
|
77
77
|
|
78
78
|
|
79
|
-
class
|
79
|
+
class ErrorTests < RunningTests
|
80
80
|
desc "and errors"
|
81
81
|
setup do
|
82
82
|
@test = Factory.test{ raise("WHAT") }
|
@@ -94,7 +94,7 @@ class Assert::Test
|
|
94
94
|
|
95
95
|
|
96
96
|
|
97
|
-
class
|
97
|
+
class MixedTests < RunningTests
|
98
98
|
desc "and has 1 pass and 1 fail assertion"
|
99
99
|
setup do
|
100
100
|
@test = Factory.test do
|
@@ -118,7 +118,7 @@ class Assert::Test
|
|
118
118
|
|
119
119
|
|
120
120
|
|
121
|
-
class
|
121
|
+
class MixedSkipTests < RunningTests
|
122
122
|
desc "and has 1 pass and 1 fail assertion with a skip call in between"
|
123
123
|
setup do
|
124
124
|
@test = Factory.test do
|
@@ -149,7 +149,7 @@ class Assert::Test
|
|
149
149
|
|
150
150
|
|
151
151
|
|
152
|
-
class
|
152
|
+
class MixedErrorTests < RunningTests
|
153
153
|
desc "and has 1 pass and 1 fail assertion with an exception raised in between"
|
154
154
|
setup do
|
155
155
|
@test = Factory.test do
|
@@ -180,7 +180,7 @@ class Assert::Test
|
|
180
180
|
|
181
181
|
|
182
182
|
|
183
|
-
class
|
183
|
+
class MixedPassTests < RunningTests
|
184
184
|
desc "and has 1 pass and 1 fail assertion with a pass call in between"
|
185
185
|
setup do
|
186
186
|
@test = Factory.test do
|
@@ -208,7 +208,7 @@ class Assert::Test
|
|
208
208
|
|
209
209
|
|
210
210
|
|
211
|
-
class
|
211
|
+
class MixedFailTests < RunningTests
|
212
212
|
desc "and has 1 pass and 1 fail assertion with a fail call in between"
|
213
213
|
setup do
|
214
214
|
@test = Factory.test do
|
@@ -236,7 +236,7 @@ class Assert::Test
|
|
236
236
|
|
237
237
|
|
238
238
|
|
239
|
-
class
|
239
|
+
class MixedFlunkTests < RunningTests
|
240
240
|
desc "and has 1 pass and 1 fail assertion with a flunk call in between"
|
241
241
|
setup do
|
242
242
|
@test = Factory.test do
|
@@ -264,7 +264,7 @@ class Assert::Test
|
|
264
264
|
|
265
265
|
|
266
266
|
|
267
|
-
class
|
267
|
+
class WithSetupTests < RunningTests
|
268
268
|
desc "a Test that runs and has assertions that depend on setups"
|
269
269
|
setup do
|
270
270
|
assert_style_msg = @asm = "set by assert style setup"
|
@@ -309,7 +309,7 @@ class Assert::Test
|
|
309
309
|
|
310
310
|
|
311
311
|
|
312
|
-
class
|
312
|
+
class WithTeardownTests < RunningTests
|
313
313
|
desc "a Test that runs and has assertions with teardowns"
|
314
314
|
setup do
|
315
315
|
assert_style_msg = @asm = "set by assert style teardown"
|
@@ -0,0 +1,65 @@
|
|
1
|
+
require 'assert'
|
2
|
+
require 'assert/suite'
|
3
|
+
|
4
|
+
require 'assert/view/base'
|
5
|
+
require 'stringio'
|
6
|
+
|
7
|
+
module Assert::View
|
8
|
+
|
9
|
+
class BaseTests < Assert::Context
|
10
|
+
desc "the base view"
|
11
|
+
setup do
|
12
|
+
@view = Assert::View::Base.new(Assert::Suite.new, StringIO.new("", "w+"))
|
13
|
+
end
|
14
|
+
subject{ @view }
|
15
|
+
|
16
|
+
# options
|
17
|
+
should have_instance_method :options
|
18
|
+
should have_class_method :options
|
19
|
+
|
20
|
+
# accessors, base methods
|
21
|
+
should have_accessors :suite, :output_io
|
22
|
+
should have_instance_methods :view, :fire
|
23
|
+
should have_instance_methods :before_load, :after_load, :on_start, :on_finish
|
24
|
+
should have_instance_methods :before_test, :after_test, :on_result
|
25
|
+
|
26
|
+
# common methods
|
27
|
+
should have_instance_methods :run_time, :runner_seed, :count, :tests?, :all_pass?
|
28
|
+
should have_instance_methods :suite_contexts, :ordered_suite_contexts
|
29
|
+
should have_instance_methods :suite_files, :ordered_suite_files
|
30
|
+
should have_instance_methods :result_details_for, :show_result_details?
|
31
|
+
should have_instance_methods :ocurring_result_types, :result_summary_msg
|
32
|
+
should have_instance_methods :all_pass_result_summary_msg, :results_summary_sentence
|
33
|
+
should have_instance_methods :test_count_statement, :result_count_statement
|
34
|
+
should have_instance_methods :to_sentence
|
35
|
+
|
36
|
+
end
|
37
|
+
|
38
|
+
class HandlerTests < Assert::Context
|
39
|
+
desc 'the assert view handler'
|
40
|
+
subject { Assert::View }
|
41
|
+
|
42
|
+
should have_instance_method :require_user_view
|
43
|
+
end
|
44
|
+
|
45
|
+
class BaseOptionsTestx < Assert::Context
|
46
|
+
desc "options for the base view"
|
47
|
+
subject do
|
48
|
+
Assert::View::Base.options
|
49
|
+
end
|
50
|
+
|
51
|
+
should "be an Options::Base object" do
|
52
|
+
assert_kind_of Assert::Options::Base, subject
|
53
|
+
end
|
54
|
+
|
55
|
+
should "default its result abbreviations" do
|
56
|
+
assert_equal '.', subject.default_pass_abbrev
|
57
|
+
assert_equal 'F', subject.default_fail_abbrev
|
58
|
+
assert_equal 'I', subject.default_ignore_abbrev
|
59
|
+
assert_equal 'S', subject.default_skip_abbrev
|
60
|
+
assert_equal 'E', subject.default_error_abbrev
|
61
|
+
end
|
62
|
+
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: assert
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 63
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 8
|
9
|
+
- 0
|
10
|
+
version: 0.8.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Kelly Redding
|
@@ -16,11 +16,10 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date:
|
19
|
+
date: 2012-07-02 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
type: :development
|
23
|
-
prerelease: false
|
24
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
24
|
none: false
|
26
25
|
requirements:
|
@@ -31,23 +30,24 @@ dependencies:
|
|
31
30
|
- 1
|
32
31
|
- 0
|
33
32
|
version: "1.0"
|
34
|
-
version_requirements: *id001
|
35
33
|
name: bundler
|
34
|
+
version_requirements: *id001
|
35
|
+
prerelease: false
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
type: :runtime
|
38
|
-
prerelease: false
|
39
38
|
requirement: &id002 !ruby/object:Gem::Requirement
|
40
39
|
none: false
|
41
40
|
requirements:
|
42
41
|
- - ~>
|
43
42
|
- !ruby/object:Gem::Version
|
44
|
-
hash:
|
43
|
+
hash: 9
|
45
44
|
segments:
|
46
|
-
-
|
47
|
-
-
|
48
|
-
version: "
|
45
|
+
- 1
|
46
|
+
- 3
|
47
|
+
version: "1.3"
|
48
|
+
name: ansi
|
49
49
|
version_requirements: *id002
|
50
|
-
|
50
|
+
prerelease: false
|
51
51
|
description: Test::Unit style testing framework, just better than Test::Unit.
|
52
52
|
email:
|
53
53
|
- kelly@kelredd.com
|
@@ -59,10 +59,10 @@ extra_rdoc_files: []
|
|
59
59
|
|
60
60
|
files:
|
61
61
|
- .gitignore
|
62
|
-
- CHANGELOG.
|
62
|
+
- CHANGELOG.md
|
63
63
|
- Gemfile
|
64
|
-
-
|
65
|
-
- README.
|
64
|
+
- LICENSE
|
65
|
+
- README.md
|
66
66
|
- Rakefile
|
67
67
|
- assert.gemspec
|
68
68
|
- lib/assert.rb
|
@@ -89,10 +89,16 @@ files:
|
|
89
89
|
- lib/assert/suite.rb
|
90
90
|
- lib/assert/test.rb
|
91
91
|
- lib/assert/version.rb
|
92
|
+
- lib/assert/view/base.rb
|
93
|
+
- lib/assert/view/default_view.rb
|
94
|
+
- lib/assert/view/helpers/ansi_styles.rb
|
95
|
+
- lib/assert/view/helpers/capture_output.rb
|
96
|
+
- lib/assert/view/helpers/common.rb
|
92
97
|
- test/assert_test.rb
|
93
98
|
- test/assertions/assert_block_test.rb
|
94
99
|
- test/assertions/assert_empty_test.rb
|
95
100
|
- test/assertions/assert_equal_test.rb
|
101
|
+
- test/assertions/assert_file_exists_test.rb
|
96
102
|
- test/assertions/assert_includes_test.rb
|
97
103
|
- test/assertions/assert_instance_of_test.rb
|
98
104
|
- test/assertions/assert_kind_of_test.rb
|
@@ -101,6 +107,7 @@ files:
|
|
101
107
|
- test/assertions/assert_not_block_test.rb
|
102
108
|
- test/assertions/assert_not_empty_test.rb
|
103
109
|
- test/assertions/assert_not_equal_test.rb
|
110
|
+
- test/assertions/assert_not_file_exists_test.rb
|
104
111
|
- test/assertions/assert_not_included_test.rb
|
105
112
|
- test/assertions/assert_not_instance_of_test.rb
|
106
113
|
- test/assertions/assert_not_kind_of_test.rb
|
@@ -136,8 +143,9 @@ files:
|
|
136
143
|
- test/runner_test.rb
|
137
144
|
- test/suite/context_info_test.rb
|
138
145
|
- test/suite_test.rb
|
139
|
-
- test/test/
|
146
|
+
- test/test/running_tests.rb
|
140
147
|
- test/test_test.rb
|
148
|
+
- test/view/base_tests.rb
|
141
149
|
homepage: http://github.com/teaminsight/assert
|
142
150
|
licenses: []
|
143
151
|
|
@@ -176,6 +184,7 @@ test_files:
|
|
176
184
|
- test/assertions/assert_block_test.rb
|
177
185
|
- test/assertions/assert_empty_test.rb
|
178
186
|
- test/assertions/assert_equal_test.rb
|
187
|
+
- test/assertions/assert_file_exists_test.rb
|
179
188
|
- test/assertions/assert_includes_test.rb
|
180
189
|
- test/assertions/assert_instance_of_test.rb
|
181
190
|
- test/assertions/assert_kind_of_test.rb
|
@@ -184,6 +193,7 @@ test_files:
|
|
184
193
|
- test/assertions/assert_not_block_test.rb
|
185
194
|
- test/assertions/assert_not_empty_test.rb
|
186
195
|
- test/assertions/assert_not_equal_test.rb
|
196
|
+
- test/assertions/assert_not_file_exists_test.rb
|
187
197
|
- test/assertions/assert_not_included_test.rb
|
188
198
|
- test/assertions/assert_not_instance_of_test.rb
|
189
199
|
- test/assertions/assert_not_kind_of_test.rb
|
@@ -219,5 +229,6 @@ test_files:
|
|
219
229
|
- test/runner_test.rb
|
220
230
|
- test/suite/context_info_test.rb
|
221
231
|
- test/suite_test.rb
|
222
|
-
- test/test/
|
232
|
+
- test/test/running_tests.rb
|
223
233
|
- test/test_test.rb
|
234
|
+
- test/view/base_tests.rb
|