matest 1.0.1 → 1.1.0
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 +8 -4
- data/Rakefile +1 -1
- data/bin/{mt → matest} +0 -0
- data/lib/matest/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51563e6bdadf816457727fca0a2121d773057f84
|
4
|
+
data.tar.gz: dda3baf6631a2461dcc68ef323e84b54f186f66c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b12c6c27102ee26adc1be14ff57f55e4386efb741ab6f611062571094f9eb576ecd967f5a418807fa13ee5bc40e3cc19f615491d62ed05490230083a4a7439a6
|
7
|
+
data.tar.gz: c02ff5d49a3bf1e17a0aef285e9a216b4c4976313b9141535e85d50506de03e404e6026d71e438a0c84b00475ae9938f1f2a2e520a4d9432ed2ce724f6ffe3ab
|
data/README.md
CHANGED
@@ -16,22 +16,22 @@ This means that:
|
|
16
16
|
|
17
17
|
## Usage
|
18
18
|
|
19
|
-
To run Matest, you just need to execute the `
|
19
|
+
To run Matest, you just need to execute the `matest` command, passing as arguments the desired test files.
|
20
20
|
|
21
21
|
```bash
|
22
|
-
$
|
22
|
+
$ matest spec/my_spec.rb
|
23
23
|
```
|
24
24
|
|
25
25
|
You can also use wildcards.
|
26
26
|
|
27
27
|
For example, to run all the specs in a directory:
|
28
28
|
```bash
|
29
|
-
$
|
29
|
+
$ matest spec/*_spec.rb
|
30
30
|
```
|
31
31
|
|
32
32
|
Or to run recursively
|
33
33
|
```bash
|
34
|
-
$
|
34
|
+
$ matest spec/**/*_spec.rb
|
35
35
|
```
|
36
36
|
|
37
37
|
## Specs
|
@@ -131,6 +131,10 @@ scope do
|
|
131
131
|
end
|
132
132
|
```
|
133
133
|
|
134
|
+
## The output
|
135
|
+
|
136
|
+
In case the test fails, the instance variables you define inside it as well as the ones defined by `let` and `let!` are tracked and you'll see their final values in the output.
|
137
|
+
|
134
138
|
## Matchers
|
135
139
|
|
136
140
|
Matest doesn't come with predefined matchers, it doesn't need them. In fact, the concept of a matcher is not required, because of the natural assertions nature of the library.
|
data/Rakefile
CHANGED
data/bin/{mt → matest}
RENAMED
File without changes
|
data/lib/matest/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: matest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Federico Iachetti
|
@@ -42,7 +42,7 @@ description: Natural assertions test suite.
|
|
42
42
|
email:
|
43
43
|
- iachetti.federico@gmail.com
|
44
44
|
executables:
|
45
|
-
-
|
45
|
+
- matest
|
46
46
|
extensions: []
|
47
47
|
extra_rdoc_files: []
|
48
48
|
files:
|
@@ -51,7 +51,7 @@ files:
|
|
51
51
|
- LICENSE.txt
|
52
52
|
- README.md
|
53
53
|
- Rakefile
|
54
|
-
- bin/
|
54
|
+
- bin/matest
|
55
55
|
- lib/matest.rb
|
56
56
|
- lib/matest/spec_printer.rb
|
57
57
|
- lib/matest/spec_status.rb
|