learn-test 2.3.1 → 2.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/learn-test +4 -0
- data/lib/learn_test/strategies/rspec.rb +8 -0
- data/lib/learn_test/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aba116ce5e44e3b001f7b7106d2067a98fed0fd1
|
4
|
+
data.tar.gz: 695faf3399146508234b87325214c5496d98d991
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e30e18c054767b5e996bf964e060d4b24008c144a70c6e90a47b1871c2cadfd89d986510a1b9310307b2b6b43cb2d7ef12f0b367490dc409a2dba2a58419a65d
|
7
|
+
data.tar.gz: ad2e0ae39c1d522fed0c8a0c82c5834a144068c837c6e2020f78699014cde660d0b1cca5c37f50552d23c8e0d874025594c1689a9d036b668d0c44ed9c7ee38a
|
data/bin/learn-test
CHANGED
@@ -21,6 +21,10 @@ module LearnTest
|
|
21
21
|
argv.unshift('--format documentation')
|
22
22
|
end
|
23
23
|
|
24
|
+
if fail_fast_option_present?
|
25
|
+
argv << '--fail-fast'
|
26
|
+
end
|
27
|
+
|
24
28
|
# Don't pass the test/local flag from learn binary to rspec runner.
|
25
29
|
argv.delete("--test")
|
26
30
|
argv.delete("-t")
|
@@ -74,6 +78,10 @@ module LearnTest
|
|
74
78
|
options[:format]
|
75
79
|
end
|
76
80
|
|
81
|
+
def fail_fast_option_present?
|
82
|
+
options[:fail_fast]
|
83
|
+
end
|
84
|
+
|
77
85
|
def dot_rspec
|
78
86
|
@dot_rspec ||= File.readlines('.rspec').map(&:strip) if File.exist?('.rspec')
|
79
87
|
end
|
data/lib/learn_test/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: learn-test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Flatiron School
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|