spec 5.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.autotest +34 -0
- data/.gitignore +3 -0
- data/History.txt +911 -0
- data/Manifest.txt +26 -0
- data/README.txt +497 -0
- data/Rakefile +214 -0
- data/design_rationale.rb +52 -0
- data/lib/hoe/minitest.rb +26 -0
- data/lib/minitest/assertions.rb +649 -0
- data/lib/minitest/autorun.rb +12 -0
- data/lib/minitest/benchmark.rb +423 -0
- data/lib/minitest/expectations.rb +268 -0
- data/lib/minitest/hell.rb +11 -0
- data/lib/minitest/mock.rb +220 -0
- data/lib/minitest/parallel_each.rb +120 -0
- data/lib/minitest/pride.rb +4 -0
- data/lib/minitest/pride_plugin.rb +143 -0
- data/lib/minitest/spec.rb +292 -0
- data/lib/minitest/test.rb +272 -0
- data/lib/minitest/unit.rb +45 -0
- data/lib/minitest.rb +839 -0
- data/lib/spec.rb +3 -0
- data/readme.md +7 -0
- data/release_notes.md +49 -0
- data/spec.gemspec +36 -0
- data/test/manual/appium.rb +14 -0
- data/test/manual/appium_after_last.rb +24 -0
- data/test/manual/appium_before_first.rb +23 -0
- data/test/manual/assert.rb +61 -0
- data/test/manual/before_first_0.rb +27 -0
- data/test/manual/before_first_1.rb +29 -0
- data/test/manual/debug.rb +37 -0
- data/test/manual/do_end.rb +31 -0
- data/test/manual/raise.rb +61 -0
- data/test/manual/run2.rb +74 -0
- data/test/manual/run3.rb +91 -0
- data/test/manual/setup.rb +13 -0
- data/test/manual/simple.rb +19 -0
- data/test/manual/simple2.rb +20 -0
- data/test/manual/t.rb +11 -0
- data/test/manual/trace.rb +19 -0
- data/test/manual/trace2.rb +15 -0
- data/test/minitest/metametameta.rb +78 -0
- data/test/minitest/test_helper.rb +20 -0
- data/test/minitest/test_minitest_benchmark.rb +131 -0
- data/test/minitest/test_minitest_mock.rb +490 -0
- data/test/minitest/test_minitest_reporter.rb +270 -0
- data/test/minitest/test_minitest_spec.rb +794 -0
- data/test/minitest/test_minitest_unit.rb +1846 -0
- metadata +147 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6b044d65b544ddf98c5706df9905b906a317874a
|
4
|
+
data.tar.gz: f9790c321d312f8dbf3e82737be51050a22ce38d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8daab21d4b2fbac5a4d79717c8c2d1b6b3f3faa513799a023fe2c51de1bbebc14aff6a70f1d5baa4d94d938a392a22d5ccd8bc2919b10679333e5ef712a7964c
|
7
|
+
data.tar.gz: 63eb94595103ed3ec06e17b56fa68d91374454f88f5c0dce9b1124ce33debc2285de875ed911be87fc66d85366dabd86040041a135f5ea907c903e27856f7b6e
|
data/.autotest
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
# -*- ruby -*-
|
2
|
+
|
3
|
+
require 'autotest/restart'
|
4
|
+
require 'autotest/rcov' if ENV['RCOV']
|
5
|
+
|
6
|
+
Autotest.add_hook :initialize do |at|
|
7
|
+
at.testlib = 'minitest/autorun'
|
8
|
+
|
9
|
+
bench_tests = %w(TestMinitestBenchmark)
|
10
|
+
mock_tests = %w(TestMinitestMock TestMinitestStub)
|
11
|
+
spec_tests = %w(TestMinitestReporter TestMetaStatic TestMeta
|
12
|
+
TestSpecInTestCase)
|
13
|
+
unit_tests = %w(TestMinitestGuard TestMinitestRunnable
|
14
|
+
TestMinitestRunner TestMinitestTest TestMinitestUnit
|
15
|
+
TestMinitestUnitInherited TestMinitestUnitOrder
|
16
|
+
TestMinitestUnitRecording TestMinitestUnitTestCase)
|
17
|
+
|
18
|
+
{
|
19
|
+
bench_tests => "test/minitest/test_minitest_benchmark.rb",
|
20
|
+
mock_tests => "test/minitest/test_minitest_mock.rb",
|
21
|
+
spec_tests => "test/minitest/test_minitest_reporter.rb",
|
22
|
+
unit_tests => "test/minitest/test_minitest_unit.rb",
|
23
|
+
}.each do |klasses, file|
|
24
|
+
klasses.each do |klass|
|
25
|
+
at.extra_class_map[klass] = file
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
at.add_exception 'coverage.info'
|
30
|
+
at.add_exception 'coverage'
|
31
|
+
end
|
32
|
+
|
33
|
+
# require 'autotest/rcov'
|
34
|
+
# Autotest::RCov.command = 'rcov_info'
|
data/.gitignore
ADDED