rspec_error_summary 0.0.3 → 0.0.4
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.
- checksums.yaml +4 -4
- data/README.md +7 -4
- data/bin/rspec_error_summary +1 -1
- data/lib/rspec_error_summary/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61641d78ac348e8079092a617986846c48544b88
|
4
|
+
data.tar.gz: 58c8dbf85f8f5c7fe0649de1138a364cbee0dbe9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f4db376023070ae34e2899fe1e3da9dbb2426045928a587c10e4074d9e1fb024f6dabbed418cbadd203377b851bef70f47997ea549d0324f74f16cdf783f136
|
7
|
+
data.tar.gz: c6f7bfc17449187429d4cd9283bb0d11c4a37be394bd85e7e9eb47afc2c252fac69db2e0bdcc47878b985e6cf7b86c1084e53c4d13c96a0e30bc95a924cffe4d
|
data/README.md
CHANGED
@@ -22,14 +22,17 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
$ rspec_error_summary [options]
|
24
24
|
|
25
|
-
-p, --path [ARG]
|
25
|
+
-p, --path [ARG]
|
26
|
+
Default: "./spec/"
|
26
27
|
Path to the directory of spec files or individual spec file to be tested
|
27
28
|
|
28
|
-
-s, --search [ARG]
|
29
|
+
-s, --search [ARG]
|
29
30
|
Search for a specific string of text in the error message
|
30
31
|
|
31
|
-
-v, --verbose
|
32
|
-
Verbose output. Displays full error messages
|
32
|
+
-v, --verbose
|
33
|
+
Verbose output. Displays full error messages. By default, error messages are truncated to 140 characters. Any object representations ("<#Model:0x3fdddd8b036c>") in the messages are also truncated to avoid confusion when counting the number of occurrences, as these objects will have different memory addresses, despite having the same error
|
34
|
+
|
35
|
+
e.g. "Undefined method 'test' for <#Model:0x3fdddd8b036c>" will not be considered another occurrence of the error "Undefined method 'test' for <#Model:0x2bdecb8b026a>" due to mismatching memory addresses, even though the cause of the error is the same.
|
33
36
|
|
34
37
|
-h, --help
|
35
38
|
Show this message
|
data/bin/rspec_error_summary
CHANGED
@@ -15,7 +15,7 @@ OptionParser.new do |opts|
|
|
15
15
|
end
|
16
16
|
|
17
17
|
options[:verbose] = false
|
18
|
-
opts.on("-v", "--verbose", "Verbose output. Displays full error messages") do |s|
|
18
|
+
opts.on("-v", "--verbose", "Verbose output. Displays full error messages. By default, error messages are truncated to 140 characters. Any object representations ('<#Model:0x3fdddd8b036c>') in the messages are also truncated to avoid confusion when counting the number of occurrences, as these objects will have different memory addresses, despite having the same error. (e.g. 'Undefined method test for <#Model:0x3fdddd8b036c>' will not be considered another occurrence of the error 'Undefined method test for <#Model:0x2bdecb8b026a>' due to mismatching memory addresses, even though the cause of the error is the same.)") do |s|
|
19
19
|
options[:verbose] = true
|
20
20
|
end
|
21
21
|
|