assert 2.18.2 → 2.18.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -6
- data/assert.gemspec +1 -1
- data/lib/assert/actual_value.rb +127 -0
- data/lib/assert/assertions.rb +11 -20
- data/lib/assert/context.rb +13 -5
- data/lib/assert/context/let_dsl.rb +13 -0
- data/lib/assert/context/method_missing.rb +19 -0
- data/lib/assert/macros/methods.rb +4 -4
- data/lib/assert/stub.rb +4 -0
- data/lib/assert/version.rb +1 -1
- data/test/helper.rb +23 -25
- data/test/support/factory.rb +15 -0
- data/test/system/stub_tests.rb +348 -333
- data/test/system/test_tests.rb +111 -109
- data/test/unit/actual_value_tests.rb +335 -0
- data/test/unit/assert_tests.rb +84 -59
- data/test/unit/assertions/assert_block_tests.rb +32 -31
- data/test/unit/assertions/assert_empty_tests.rb +35 -32
- data/test/unit/assertions/assert_equal_tests.rb +81 -75
- data/test/unit/assertions/assert_file_exists_tests.rb +34 -33
- data/test/unit/assertions/assert_includes_tests.rb +40 -37
- data/test/unit/assertions/assert_instance_of_tests.rb +36 -33
- data/test/unit/assertions/assert_kind_of_tests.rb +36 -33
- data/test/unit/assertions/assert_match_tests.rb +36 -33
- data/test/unit/assertions/assert_nil_tests.rb +32 -31
- data/test/unit/assertions/assert_raises_tests.rb +55 -55
- data/test/unit/assertions/assert_respond_to_tests.rb +38 -35
- data/test/unit/assertions/assert_same_tests.rb +91 -80
- data/test/unit/assertions/assert_true_false_tests.rb +64 -60
- data/test/unit/assertions_tests.rb +15 -13
- data/test/unit/config_helpers_tests.rb +36 -35
- data/test/unit/config_tests.rb +33 -34
- data/test/unit/context/let_dsl_tests.rb +10 -0
- data/test/unit/context/setup_dsl_tests.rb +70 -81
- data/test/unit/context/subject_dsl_tests.rb +16 -43
- data/test/unit/context/suite_dsl_tests.rb +16 -16
- data/test/unit/context/test_dsl_tests.rb +50 -54
- data/test/unit/context_info_tests.rb +16 -15
- data/test/unit/context_tests.rb +170 -157
- data/test/unit/default_runner_tests.rb +2 -5
- data/test/unit/default_suite_tests.rb +51 -53
- data/test/unit/factory_tests.rb +3 -3
- data/test/unit/file_line_tests.rb +31 -33
- data/test/unit/macro_tests.rb +9 -10
- data/test/unit/result_tests.rb +150 -163
- data/test/unit/runner_tests.rb +63 -63
- data/test/unit/suite_tests.rb +57 -54
- data/test/unit/test_tests.rb +134 -126
- data/test/unit/utils_tests.rb +41 -45
- data/test/unit/view_helpers_tests.rb +55 -52
- data/test/unit/view_tests.rb +20 -22
- metadata +11 -4
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: assert
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.18.
|
4
|
+
version: 2.18.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kelly Redding
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-09-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: much-factory
|
@@ -31,14 +31,14 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 0.1.
|
34
|
+
version: 0.1.4
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 0.1.
|
41
|
+
version: 0.1.4
|
42
42
|
description: Assertion style testing framework.
|
43
43
|
email:
|
44
44
|
- kelly@kellyredding.com
|
@@ -54,12 +54,15 @@ files:
|
|
54
54
|
- assert.gemspec
|
55
55
|
- bin/assert
|
56
56
|
- lib/assert.rb
|
57
|
+
- lib/assert/actual_value.rb
|
57
58
|
- lib/assert/assert_runner.rb
|
58
59
|
- lib/assert/assertions.rb
|
59
60
|
- lib/assert/cli.rb
|
60
61
|
- lib/assert/config.rb
|
61
62
|
- lib/assert/config_helpers.rb
|
62
63
|
- lib/assert/context.rb
|
64
|
+
- lib/assert/context/let_dsl.rb
|
65
|
+
- lib/assert/context/method_missing.rb
|
63
66
|
- lib/assert/context/setup_dsl.rb
|
64
67
|
- lib/assert/context/subject_dsl.rb
|
65
68
|
- lib/assert/context/suite_dsl.rb
|
@@ -89,6 +92,7 @@ files:
|
|
89
92
|
- test/support/inherited_stuff.rb
|
90
93
|
- test/system/stub_tests.rb
|
91
94
|
- test/system/test_tests.rb
|
95
|
+
- test/unit/actual_value_tests.rb
|
92
96
|
- test/unit/assert_tests.rb
|
93
97
|
- test/unit/assertions/assert_block_tests.rb
|
94
98
|
- test/unit/assertions/assert_empty_tests.rb
|
@@ -106,6 +110,7 @@ files:
|
|
106
110
|
- test/unit/assertions_tests.rb
|
107
111
|
- test/unit/config_helpers_tests.rb
|
108
112
|
- test/unit/config_tests.rb
|
113
|
+
- test/unit/context/let_dsl_tests.rb
|
109
114
|
- test/unit/context/setup_dsl_tests.rb
|
110
115
|
- test/unit/context/subject_dsl_tests.rb
|
111
116
|
- test/unit/context/suite_dsl_tests.rb
|
@@ -155,6 +160,7 @@ test_files:
|
|
155
160
|
- test/support/inherited_stuff.rb
|
156
161
|
- test/system/stub_tests.rb
|
157
162
|
- test/system/test_tests.rb
|
163
|
+
- test/unit/actual_value_tests.rb
|
158
164
|
- test/unit/assert_tests.rb
|
159
165
|
- test/unit/assertions/assert_block_tests.rb
|
160
166
|
- test/unit/assertions/assert_empty_tests.rb
|
@@ -172,6 +178,7 @@ test_files:
|
|
172
178
|
- test/unit/assertions_tests.rb
|
173
179
|
- test/unit/config_helpers_tests.rb
|
174
180
|
- test/unit/config_tests.rb
|
181
|
+
- test/unit/context/let_dsl_tests.rb
|
175
182
|
- test/unit/context/setup_dsl_tests.rb
|
176
183
|
- test/unit/context/subject_dsl_tests.rb
|
177
184
|
- test/unit/context/suite_dsl_tests.rb
|