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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/Readme.md +63 -0
  3. data/lib/maxitest/version.rb +1 -1
  4. metadata +4 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7db9e9766430fc0c6600b33feed4c231238b6b9d
4
- data.tar.gz: 0b4915abe95300cb7d2c1406e742cd0393130565
3
+ metadata.gz: a56b32ba2f46250294ddf233170d8c223fadc4d5
4
+ data.tar.gz: ca88c5963525f28a62594a7ae8ae773d1e044147
5
5
  SHA512:
6
- metadata.gz: 8b25f64c7b30d48c4f2e95b6dfc6f1fd1d0c3310330c8ed83bb03ceee8ae970dc7cf092d6e7b49bdfb8ac47a9b5c05403587340149b27140a96c5ac90993ece4
7
- data.tar.gz: e0c6750d5f66a53d5e28b25beae1659418e19a502ccd39b6d8e0dabe1a5e9198328703c127d09adc9bcaf90c792ee3781300c0a01a801fd5798eabf0bcbb3ddc
6
+ metadata.gz: a7393050612a64bbe555702087b52c8291ae52f352772bb6feca9eda14fda3776d2878ca1d49d3ecc0c858d9622ad5ce025c6ebba728ba1dab3522dd84888219
7
+ data.tar.gz: 716bc65419a775086d7ba397cb41d54f37768c8348b8b7a890f08ffa8e0ae8452ac7fbe9d3c72e9a7f8d6fbf948296c29e1ef1677a07ea0942439d8c854068cf
@@ -0,0 +1,63 @@
1
+ Minitest + all the features you always wanted.
2
+
3
+ ![Failure](https://dl.dropboxusercontent.com/u/2670385/Web/maxitest-failure.png)
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
+ [![Build Status](https://travis-ci.org/grosser/maxitest.png)](https://travis-ci.org/grosser/maxitest)
@@ -1,3 +1,3 @@
1
1
  module Maxitest
2
- VERSION = "1.5.4"
2
+ VERSION = "1.5.5"
3
3
  end
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
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: 2015-09-22 00:00:00.000000000 Z
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.2.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