spork-minitest 1.0.0.beta1 → 1.0.0.beta2
Sign up to get free protection for your applications and to get access to all the features.
- data/Readme.md +5 -1
- data/lib/spork/test_framework/minitest.rb +2 -1
- data/spork-minitest.gemspec +1 -1
- metadata +3 -3
data/Readme.md
CHANGED
@@ -51,7 +51,7 @@ To fix that add the following to the very top of your test helper:
|
|
51
51
|
|
52
52
|
You can specify different test helper when starting spork and run tests as usual.
|
53
53
|
|
54
|
-
HELPER_FILE=spec/spec_helper.rb spork
|
54
|
+
HELPER_FILE=spec/spec_helper.rb spork minitest
|
55
55
|
|
56
56
|
### [Autotest][]
|
57
57
|
|
@@ -69,3 +69,7 @@ You can run all tests over Spork by adding the following lines to your .autotest
|
|
69
69
|
end
|
70
70
|
|
71
71
|
[Autotest]: https://github.com/seattlerb/zentest
|
72
|
+
|
73
|
+
## License
|
74
|
+
|
75
|
+
Spork-MiniTest is released under the [MIT License](http://www.opensource.org/licenses/MIT).
|
@@ -1,8 +1,9 @@
|
|
1
1
|
class Spork::TestFramework::MiniTest < Spork::TestFramework
|
2
2
|
DEFAULT_PORT = 8988
|
3
|
+
DEFAULT_HELPER_FILES = %w[test/minitest_helper.rb test/test_helper.rb spec/spec_helper.rb]
|
3
4
|
|
4
5
|
def self.helper_file
|
5
|
-
ENV['HELPER_FILE'] ||
|
6
|
+
ENV['HELPER_FILE'] || DEFAULT_HELPER_FILES.find{ |f| File.exist?(f) }
|
6
7
|
end
|
7
8
|
|
8
9
|
def run_tests(argv, stderr, stdout)
|
data/spork-minitest.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spork-minitest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.beta2
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-12-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: spork
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
version: 1.3.1
|
70
70
|
requirements: []
|
71
71
|
rubyforge_project:
|
72
|
-
rubygems_version: 1.8.
|
72
|
+
rubygems_version: 1.8.24
|
73
73
|
signing_key:
|
74
74
|
specification_version: 3
|
75
75
|
summary: MiniTest runner for Spork
|