busser-nose2 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/busser/nose2/version.rb +1 -1
- data/lib/busser/runner_plugin/nose2.rb +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46f26d1a48a3b88e6eeed5718c8b367960c05b98
|
4
|
+
data.tar.gz: b74565adf27f69329a257579a5e2453adb8f5202
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55fd9c34715e37663d279f532ced6b3df74e62020bfb9d26658bfd4c681fda20ad0aa690fc503210bf0b066a216db0d59cd50c4646d26e55d0dcabe8158baf99
|
7
|
+
data.tar.gz: e2884c3c573b68c2518caef4ee5e3b5ce6eccf4ecaf505a57c38d4d0a3969d5aef57b8993c396348d54683282f81ac829106655b50bfa515061d3bd9f6908b5d
|
data/lib/busser/nose2/version.rb
CHANGED
@@ -25,13 +25,13 @@ require 'busser/runner_plugin'
|
|
25
25
|
class Busser::RunnerPlugin::Nose2 < Busser::RunnerPlugin::Base
|
26
26
|
postinstall do
|
27
27
|
run!("pip install nose2")
|
28
|
-
if File.file?("#{suite_path('nose2')}/requirements.txt")
|
29
|
-
puts "Installing test requirements."
|
30
|
-
run!("pip install #suite_path('nose2')/requirements.txt")
|
31
|
-
end
|
32
28
|
end
|
33
29
|
|
34
30
|
def test
|
31
|
+
if File.file?("#{suite_path('nose2')}/requirements.txt")
|
32
|
+
puts "Installing test requirements."
|
33
|
+
run!("pip install -r #suite_path('nose2')/requirements.txt")
|
34
|
+
end
|
35
35
|
run!("nose2 --start-dir #{suite_path('nose2').to_s}/tests")
|
36
36
|
end
|
37
37
|
end
|