test_launcher 2.18.0 → 2.19.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d1cea86b871cfd55f6a1d7a3390d5dc9e8417de
|
4
|
+
data.tar.gz: c38d40a89c9c4699b77ee0731b152bcd9b89a05b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1047fcb1c44a83debd18da19e0a64b2f78d5ba2a87d017f67495d73db80aa6199f5d4d42b009b10c43eb225b80d540bd23b6b76a5c38e7ea6d4fdde45c354c3d
|
7
|
+
data.tar.gz: 99ce91ee9646982ea07dc5ea933c489e671515732a81f1125fd9f5127f73a4cfe9c2a4cd8f0a31a0d7552a74185beb654f97723ea9274660d6d2b178e6bcad02
|
@@ -108,7 +108,7 @@ Open an issue on https://github.com/petekinnecom/test_launcher if this is someth
|
|
108
108
|
end
|
109
109
|
|
110
110
|
if test_case.spring_enabled?
|
111
|
-
%{cd #{test_case.app_root} &&
|
111
|
+
%{cd #{test_case.app_root} && #{test_case.example_runner} #{test_case.relative_file} --name='#{name_arg}'}
|
112
112
|
else
|
113
113
|
%{cd #{test_case.app_root} && #{test_case.example_runner} #{test_case.file} --name='#{name_arg}'}
|
114
114
|
end
|
@@ -135,7 +135,7 @@ Open an issue on https://github.com/petekinnecom/test_launcher if this is someth
|
|
135
135
|
class TestCase < Base::TestCase
|
136
136
|
def example_runner
|
137
137
|
if spring_enabled?
|
138
|
-
"bundle exec spring
|
138
|
+
"bundle exec spring rails test"
|
139
139
|
else
|
140
140
|
"bundle exec ruby -I test"
|
141
141
|
end
|
@@ -143,7 +143,7 @@ Open an issue on https://github.com/petekinnecom/test_launcher if this is someth
|
|
143
143
|
|
144
144
|
def file_runner
|
145
145
|
if spring_enabled?
|
146
|
-
"bundle exec spring
|
146
|
+
"bundle exec spring rails test"
|
147
147
|
else
|
148
148
|
"bundle exec ruby -I test -e 'ARGV.each {|f| require(f)}'"
|
149
149
|
end
|
@@ -270,7 +270,7 @@ module TestLauncher
|
|
270
270
|
end
|
271
271
|
|
272
272
|
launch("class_1_test.rb", env: {}, searcher: searcher)
|
273
|
-
assert_equal "cd /src && bundle exec spring
|
273
|
+
assert_equal "cd /src && bundle exec spring rails test test/class_1_test.rb", shell_mock.recall_exec
|
274
274
|
|
275
275
|
launch("class_1_test.rb", env: {"DISABLE_SPRING" => "1"}, searcher: searcher)
|
276
276
|
assert_equal "cd /src && bundle exec ruby -I test -e 'ARGV.each {|f| require(f)}' /src/test/class_1_test.rb", shell_mock.recall_exec
|
@@ -290,7 +290,7 @@ module TestLauncher
|
|
290
290
|
end
|
291
291
|
|
292
292
|
launch("class_1_test.rb --spring", env: {}, searcher: searcher)
|
293
|
-
assert_equal "cd /src && bundle exec spring
|
293
|
+
assert_equal "cd /src && bundle exec spring rails test test/class_1_test.rb", shell_mock.recall_exec
|
294
294
|
end
|
295
295
|
|
296
296
|
def test__by_regex__one_match
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: test_launcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.19.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pete Kinnecom
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|