oktest 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +21 -0
- data/README.md +1856 -0
- data/Rakefile.rb +61 -0
- data/benchmark/Rakefile.rb +230 -0
- data/benchmark/run_all.rb +6 -0
- data/bin/oktest +3 -0
- data/lib/oktest.rb +2359 -0
- data/oktest.gemspec +45 -0
- data/test/assertion_test.rb +817 -0
- data/test/filter_test.rb +379 -0
- data/test/fixture_test.rb +205 -0
- data/test/generator_test.rb +123 -0
- data/test/helper_test.rb +542 -0
- data/test/initialize.rb +14 -0
- data/test/mainapp_test.rb +625 -0
- data/test/misc_test.rb +80 -0
- data/test/node_test.rb +669 -0
- data/test/reporter_test.rb +547 -0
- data/test/run_all.rb +13 -0
- data/test/runner_test.rb +544 -0
- data/test/tc.rb +115 -0
- data/test/util_test.rb +258 -0
- data/test/visitor_test.rb +292 -0
- metadata +105 -0
metadata
ADDED
@@ -0,0 +1,105 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: oktest
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- kwatch
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2021-08-13 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: diff-lcs
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: benry-recorder
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.0'
|
41
|
+
description: |
|
42
|
+
Oktest.rb is a new-style testing library for Ruby.
|
43
|
+
|
44
|
+
* `ok {actual} == expected` style assertion.
|
45
|
+
* **Fixture injection** inspired by dependency injection.
|
46
|
+
* Structured test specifications like RSpec.
|
47
|
+
* Filtering testcases by pattern or tags.
|
48
|
+
* Blue/red color instead of green/red for accesability.
|
49
|
+
* Small code size (about 2300 lines) and good performance.
|
50
|
+
|
51
|
+
See https://github.com/kwatch/oktest/tree/ruby/ruby for details.
|
52
|
+
email: kwatch@gmail.com
|
53
|
+
executables:
|
54
|
+
- oktest
|
55
|
+
extensions: []
|
56
|
+
extra_rdoc_files: []
|
57
|
+
files:
|
58
|
+
- MIT-LICENSE
|
59
|
+
- README.md
|
60
|
+
- Rakefile.rb
|
61
|
+
- benchmark/Rakefile.rb
|
62
|
+
- benchmark/run_all.rb
|
63
|
+
- bin/oktest
|
64
|
+
- lib/oktest.rb
|
65
|
+
- oktest.gemspec
|
66
|
+
- test/assertion_test.rb
|
67
|
+
- test/filter_test.rb
|
68
|
+
- test/fixture_test.rb
|
69
|
+
- test/generator_test.rb
|
70
|
+
- test/helper_test.rb
|
71
|
+
- test/initialize.rb
|
72
|
+
- test/mainapp_test.rb
|
73
|
+
- test/misc_test.rb
|
74
|
+
- test/node_test.rb
|
75
|
+
- test/reporter_test.rb
|
76
|
+
- test/run_all.rb
|
77
|
+
- test/runner_test.rb
|
78
|
+
- test/tc.rb
|
79
|
+
- test/util_test.rb
|
80
|
+
- test/visitor_test.rb
|
81
|
+
homepage: https://github.com/kwatch/oktest/tree/ruby
|
82
|
+
licenses:
|
83
|
+
- MIT
|
84
|
+
metadata: {}
|
85
|
+
post_install_message:
|
86
|
+
rdoc_options: []
|
87
|
+
require_paths:
|
88
|
+
- lib
|
89
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - ">="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '2.3'
|
94
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ">="
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
requirements: []
|
100
|
+
rubygems_version: 3.2.22
|
101
|
+
signing_key:
|
102
|
+
specification_version: 4
|
103
|
+
summary: new style testing library
|
104
|
+
test_files:
|
105
|
+
- test/run_all.rb
|