pad_gem 1.5.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/foundation/test/test_runner.rb +6 -1
- data/lib/pad_gem/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: c7f24a5114e2b8d3e9c0406c15f2686984c8a774
|
4
|
+
data.tar.gz: 9f1f4e2cfb55bd64eae0c17b8b42ecf4564ebabd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db4b9ee6ea91ca300e08a759c2c679b59f3865550ca5cd92304787a1766f0885f5be1baf72778916646a0b994d3f45d91080742601281563245e097f71603758
|
7
|
+
data.tar.gz: 406c698c11ffb571e8d85592c18c9d2d9f2490d1ca0029bc99a19ef356614867f8ca49078a7f88c8083331db4030dfd803e536dc9eda5a4e3d1043fcbfe8d853
|
@@ -8,6 +8,11 @@ start_time = Time.now
|
|
8
8
|
number_of_tests = 0
|
9
9
|
errors_list = []
|
10
10
|
|
11
|
+
# CLI argument to select which test area to run.
|
12
|
+
# Example: ruby test_runner.rb user
|
13
|
+
area = ARGV[0]
|
14
|
+
test_files = area.nil? ? "*_test.rb" : "#{area}*"
|
15
|
+
|
11
16
|
# Add preconditions to running tests just below this line.
|
12
17
|
# For example, ENV['MY_APP'] = 'development'
|
13
18
|
|
@@ -15,7 +20,7 @@ puts
|
|
15
20
|
|
16
21
|
PadUtils.puts_c "Running tests...", :blue
|
17
22
|
|
18
|
-
Dir["units
|
23
|
+
Dir["units/#{test_files}"].each do |file|
|
19
24
|
require_relative file
|
20
25
|
|
21
26
|
class_name = PadUtils.filename_to_classname(file)
|
data/lib/pad_gem/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pad_gem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nico Schuele
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pad_utils
|