minitest-slow_test 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -1
- data/README.md +4 -0
- data/lib/minitest/slow_test/version.rb +1 -1
- data/lib/minitest/slow_test.rb +5 -2
- 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: c237cbe6ac0d74f3ae7662ed04f5ce40baf182d9
|
4
|
+
data.tar.gz: 9e3e4f94b1cb72b3a67aae89958e0f83d81af13c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 041f14d896589969a210731e84b5d4673b62ffece5b03cf2de52beca995ba6afe199863e97dacc8eb75a3f2fadd19af89f6eec8a39236115287fe50c647a0fdc
|
7
|
+
data.tar.gz: 2a7b048a8e9908d81df39bf72bd67f9a3ca400f482595344dc8afde83c8bc6b6391a8e2093f435b98009c1c575e7cf0c8eb90f691a3e7a6c08b26d7febcc4716
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
Display the summary of a slow test when tests finished.
|
4
4
|
|
5
|
+
[![Build Status](https://travis-ci.org/y-yagi/minitest-slow_test.svg?branch=master)](https://travis-ci.org/y-yagi/minitest-slow_test)
|
6
|
+
[![Gem Version](https://badge.fury.io/rb/minitest-slow_test.svg)](http://badge.fury.io/rb/minitest-slow_test)
|
7
|
+
|
8
|
+
|
5
9
|
## Output example
|
6
10
|
|
7
11
|
```shell
|
data/lib/minitest/slow_test.rb
CHANGED
@@ -3,10 +3,13 @@ require 'minitest/slow_test/version'
|
|
3
3
|
module Minitest
|
4
4
|
module SlowTest
|
5
5
|
class << self
|
6
|
-
|
6
|
+
attr_writer :long_test_time
|
7
7
|
|
8
8
|
def long_test_time
|
9
|
-
|
9
|
+
unless defined? @long_test_time
|
10
|
+
@long_test_time = 1.0
|
11
|
+
end
|
12
|
+
@long_test_time.to_f
|
10
13
|
end
|
11
14
|
end
|
12
15
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-slow_test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuji Yaginuma
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
@@ -105,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
105
105
|
version: '0'
|
106
106
|
requirements: []
|
107
107
|
rubyforge_project:
|
108
|
-
rubygems_version: 2.
|
108
|
+
rubygems_version: 2.4.5
|
109
109
|
signing_key:
|
110
110
|
specification_version: 4
|
111
111
|
summary: Display the summary of a slow test when tests finished.
|