maxitest 1.5.4 → 1.5.5
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 +63 -0
- data/lib/maxitest/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a56b32ba2f46250294ddf233170d8c223fadc4d5
|
4
|
+
data.tar.gz: ca88c5963525f28a62594a7ae8ae773d1e044147
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7393050612a64bbe555702087b52c8291ae52f352772bb6feca9eda14fda3776d2878ca1d49d3ecc0c858d9622ad5ce025c6ebba728ba1dab3522dd84888219
|
7
|
+
data.tar.gz: 716bc65419a775086d7ba397cb41d54f37768c8348b8b7a890f08ffa8e0ae8452ac7fbe9d3c72e9a7f8d6fbf948296c29e1ef1677a07ea0942439d8c854068cf
|
data/Readme.md
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
Minitest + all the features you always wanted.
|
2
|
+
|
3
|
+

|
4
|
+
|
5
|
+
Features
|
6
|
+
========
|
7
|
+
- **Ctrl+c** stops tests and prints failures
|
8
|
+
- **pastable rerun snippet** for failures
|
9
|
+
- multiple before & after blocks
|
10
|
+
- **around** blocks `around { |t| Dir.chdir(...) { t.call } }`
|
11
|
+
- **red-green** output
|
12
|
+
- `mtest` executable to **run by line number** and by folder
|
13
|
+
- full backtrace for errors and assertions with verbose (`-v`)
|
14
|
+
- `let!`
|
15
|
+
- `let_all` execute once for all tests in a class and it's subclasses
|
16
|
+
- `order_dependent!` to make your tests run in given order
|
17
|
+
- `Maxitest.static_class_order = true` no longer sort tests class/sub-classes in random order
|
18
|
+
- `context` for more expression
|
19
|
+
- `pending { assert false }` is skip when it fails, but fails when it passes
|
20
|
+
- implicit subject via `require 'maxitest/implicit_subject'`
|
21
|
+
- `xit` to skip test (also does not call setup or teardown)
|
22
|
+
|
23
|
+
Install
|
24
|
+
=======
|
25
|
+
|
26
|
+
```Bash
|
27
|
+
gem install maxitest
|
28
|
+
```
|
29
|
+
|
30
|
+
Usage
|
31
|
+
=====
|
32
|
+
|
33
|
+
```Ruby
|
34
|
+
require "maxitest/autorun"
|
35
|
+
|
36
|
+
... normal tests ...
|
37
|
+
```
|
38
|
+
Development
|
39
|
+
===========
|
40
|
+
- everything vendored into 1 gem to avoid dependency madness
|
41
|
+
- tested via rspec to avoid messing up our own tests by accident
|
42
|
+
- fixes should go back to the original libraries
|
43
|
+
- restrictive minitest dependency so nothing breaks by accident
|
44
|
+
- ruby 1.9+
|
45
|
+
- `rake update` to update all vendored gems
|
46
|
+
|
47
|
+
TODO
|
48
|
+
====
|
49
|
+
- make ctrl+c fix its own gem
|
50
|
+
- `before :all` / `after :all` / `around :all`
|
51
|
+
- minitest 4 version for those stuck on rails 3
|
52
|
+
|
53
|
+
Author
|
54
|
+
======
|
55
|
+
- running by line number from [minitest-line](https://github.com/judofyr/minitest-line)
|
56
|
+
- around from [minitest-around](https://github.com/splattael/minitest-around)
|
57
|
+
- mtest from [testrbl](https://github.com/grosser/testrbl)
|
58
|
+
- red-green from [minitest-rg](https://github.com/blowmage/minitest-rg)
|
59
|
+
|
60
|
+
[Michael Grosser](http://grosser.it)<br/>
|
61
|
+
michael@grosser.it<br/>
|
62
|
+
License: MIT<br/>
|
63
|
+
[](https://travis-ci.org/grosser/maxitest)
|
data/lib/maxitest/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: maxitest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
@@ -94,6 +94,7 @@ extensions: []
|
|
94
94
|
extra_rdoc_files: []
|
95
95
|
files:
|
96
96
|
- MIT-LICENSE
|
97
|
+
- Readme.md
|
97
98
|
- bin/mtest
|
98
99
|
- lib/maxitest.rb
|
99
100
|
- lib/maxitest/autorun.rb
|
@@ -130,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
131
|
version: '0'
|
131
132
|
requirements: []
|
132
133
|
rubyforge_project:
|
133
|
-
rubygems_version: 2.
|
134
|
+
rubygems_version: 2.4.5.1
|
134
135
|
signing_key:
|
135
136
|
specification_version: 4
|
136
137
|
summary: Minitest + all the features you always wanted
|