ZenTest 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +104 -0
- data/LinuxJournalArticle.txt +393 -0
- data/Manifest.txt +27 -0
- data/README.txt +123 -0
- data/Rakefile +98 -0
- data/bin/ZenTest +28 -0
- data/bin/autotest +12 -0
- data/bin/unit_diff +40 -0
- data/example.txt +41 -0
- data/example1.rb +7 -0
- data/example2.rb +15 -0
- data/lib/ZenTest.rb +536 -0
- data/lib/autotest.rb +202 -0
- data/lib/rails_autotest.rb +57 -0
- data/lib/unit_diff.rb +200 -0
- data/test/data/normal/lib/photo.rb +0 -0
- data/test/data/normal/test/test_camelcase.rb +0 -0
- data/test/data/normal/test/test_photo.rb +0 -0
- data/test/data/normal/test/test_route.rb +0 -0
- data/test/data/normal/test/test_user.rb +0 -0
- data/test/data/rails/test/fixtures/routes.yml +0 -0
- data/test/data/rails/test/functional/route_controller_test.rb +0 -0
- data/test/data/rails/test/unit/route_test.rb +0 -0
- data/test/test_autotest.rb +179 -0
- data/test/test_rails_autotest.rb +55 -0
- data/test/test_unit_diff.rb +95 -0
- data/test/test_zentest.rb +670 -0
- metadata +103 -0
metadata
ADDED
@@ -0,0 +1,103 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
rubygems_version: 0.8.11.6
|
3
|
+
specification_version: 1
|
4
|
+
name: ZenTest
|
5
|
+
version: !ruby/object:Gem::Version
|
6
|
+
version: 3.0.0
|
7
|
+
date: 2006-03-06 00:00:00 -08:00
|
8
|
+
summary: |-
|
9
|
+
* Scans your ruby code and tests and generates missing methods for you.
|
10
|
+
* Includes a very helpful filter for Test::Unit output called unit_diff.
|
11
|
+
* Continually and intelligently test only those files you change with autotest.
|
12
|
+
* Includes a LinuxJournal article on testing with ZenTest written by Pat Eyler.
|
13
|
+
require_paths:
|
14
|
+
- lib
|
15
|
+
email: ryand-ruby@zenspider.com
|
16
|
+
homepage: http://www.zenspider.com/ZSS/Products/ZenTest/
|
17
|
+
rubyforge_project: zentest
|
18
|
+
description: |-
|
19
|
+
ZenTest provides 3 different tools: zentest, unit_diff, and autotest.
|
20
|
+
|
21
|
+
ZenTest scans your target and unit-test code and writes your missing
|
22
|
+
code based on simple naming rules, enabling XP at a much quicker
|
23
|
+
pace. ZenTest only works with Ruby and Test::Unit.
|
24
|
+
|
25
|
+
unit_diff is a command-line filter to diff expected results from
|
26
|
+
actual results and allow you to quickly see exactly what is wrong.
|
27
|
+
|
28
|
+
autotest is a continous testing facility meant to be used during
|
29
|
+
development. As soon as you save a file, autotest will run the
|
30
|
+
corresponding dependent tests.
|
31
|
+
|
32
|
+
There are two strategies intended for ZenTest: test conformance
|
33
|
+
auditing and rapid XP.
|
34
|
+
|
35
|
+
For auditing, ZenTest provides an excellent means of finding methods
|
36
|
+
that have slipped through the testing process. I've run it against my
|
37
|
+
own software and found I missed a lot in a well tested
|
38
|
+
package. Writing those tests found 4 bugs I had no idea existed.
|
39
|
+
|
40
|
+
ZenTest can also be used to evaluate generated code and execute your
|
41
|
+
tests, allowing for very rapid development of both tests and
|
42
|
+
implementation.
|
43
|
+
autorequire:
|
44
|
+
default_executable:
|
45
|
+
bindir: bin
|
46
|
+
has_rdoc: false
|
47
|
+
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
48
|
+
requirements:
|
49
|
+
- - ">"
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
version: 0.0.0
|
52
|
+
version:
|
53
|
+
platform: ruby
|
54
|
+
signing_key:
|
55
|
+
cert_chain:
|
56
|
+
post_install_message:
|
57
|
+
authors:
|
58
|
+
- Ryan Davis
|
59
|
+
- Eric Hodel
|
60
|
+
files:
|
61
|
+
- History.txt
|
62
|
+
- LinuxJournalArticle.txt
|
63
|
+
- Manifest.txt
|
64
|
+
- README.txt
|
65
|
+
- Rakefile
|
66
|
+
- bin/ZenTest
|
67
|
+
- bin/autotest
|
68
|
+
- bin/unit_diff
|
69
|
+
- example.txt
|
70
|
+
- example1.rb
|
71
|
+
- example2.rb
|
72
|
+
- lib/ZenTest.rb
|
73
|
+
- lib/autotest.rb
|
74
|
+
- lib/rails_autotest.rb
|
75
|
+
- lib/unit_diff.rb
|
76
|
+
- test/data/normal/lib/photo.rb
|
77
|
+
- test/data/normal/test/test_camelcase.rb
|
78
|
+
- test/data/normal/test/test_photo.rb
|
79
|
+
- test/data/normal/test/test_route.rb
|
80
|
+
- test/data/normal/test/test_user.rb
|
81
|
+
- test/data/rails/test/fixtures/routes.yml
|
82
|
+
- test/data/rails/test/functional/route_controller_test.rb
|
83
|
+
- test/data/rails/test/unit/route_test.rb
|
84
|
+
- test/test_autotest.rb
|
85
|
+
- test/test_rails_autotest.rb
|
86
|
+
- test/test_unit_diff.rb
|
87
|
+
- test/test_zentest.rb
|
88
|
+
test_files: []
|
89
|
+
|
90
|
+
rdoc_options: []
|
91
|
+
|
92
|
+
extra_rdoc_files: []
|
93
|
+
|
94
|
+
executables:
|
95
|
+
- ZenTest
|
96
|
+
- unit_diff
|
97
|
+
- autotest
|
98
|
+
extensions: []
|
99
|
+
|
100
|
+
requirements: []
|
101
|
+
|
102
|
+
dependencies: []
|
103
|
+
|