moonit 0.0.1 → 0.1.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 +4 -0
- data/Manifest.txt +1 -0
- data/bin/moonit +11 -0
- data/lib/moonit.rb +5 -4
- data/test/test_moonit.rb +4 -1
- metadata +9 -6
data/History.txt
CHANGED
data/Manifest.txt
CHANGED
data/bin/moonit
ADDED
data/lib/moonit.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
module Moonit
|
2
|
-
VERSION = '0.0
|
2
|
+
VERSION = '0.1.0'
|
3
3
|
end
|
4
4
|
# Moonit
|
5
5
|
# Manual Test Unit Tests
|
@@ -45,11 +45,12 @@ class Test::Unit::TestCase
|
|
45
45
|
reason = ask("Why did this fail? ")
|
46
46
|
Proc.new {assert false, reason}
|
47
47
|
end
|
48
|
-
define_method("
|
48
|
+
define_method("test_MANUAL_#{name.gsub(/[^\w]/,'_')}",proc)
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
52
|
-
def self.step(description
|
53
|
-
ask("#{description} "
|
52
|
+
def self.step(description)
|
53
|
+
ask("#{description} ")
|
54
|
+
yield if block_given?
|
54
55
|
end
|
55
56
|
end
|
data/test/test_moonit.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: moonit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Anderson
|
@@ -9,11 +9,12 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-08-02 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: highline
|
17
|
+
type: :runtime
|
17
18
|
version_requirement:
|
18
19
|
version_requirements: !ruby/object:Gem::Requirement
|
19
20
|
requirements:
|
@@ -23,18 +24,19 @@ dependencies:
|
|
23
24
|
version:
|
24
25
|
- !ruby/object:Gem::Dependency
|
25
26
|
name: hoe
|
27
|
+
type: :runtime
|
26
28
|
version_requirement:
|
27
29
|
version_requirements: !ruby/object:Gem::Requirement
|
28
30
|
requirements:
|
29
31
|
- - ">="
|
30
32
|
- !ruby/object:Gem::Version
|
31
|
-
version: 1.
|
33
|
+
version: 1.6.0
|
32
34
|
version:
|
33
35
|
description: Baby mix-in for Test::Unit which allows one to specify manual test cases with steps. Manual test cases are a necessary evil in this world and something that I feel is missing sorely (but not sadly) is the ability to keep your manual test cases coupled with your automated test cases. Manual tests playing with automated tests. Of course, the goal of Moonit is to not interfere with automated tests so it is necessary to tell ruby you want to execute your manual tests alongside your automated tests at runtime.
|
34
36
|
email:
|
35
37
|
- adamandersonis@gmail.com
|
36
|
-
executables:
|
37
|
-
|
38
|
+
executables:
|
39
|
+
- moonit
|
38
40
|
extensions: []
|
39
41
|
|
40
42
|
extra_rdoc_files:
|
@@ -48,6 +50,7 @@ files:
|
|
48
50
|
- Rakefile
|
49
51
|
- lib/moonit.rb
|
50
52
|
- test/test_moonit.rb
|
53
|
+
- bin/moonit
|
51
54
|
has_rdoc: true
|
52
55
|
homepage: http://moonit.rubyforge.org
|
53
56
|
post_install_message:
|
@@ -71,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
74
|
requirements: []
|
72
75
|
|
73
76
|
rubyforge_project: moonit
|
74
|
-
rubygems_version: 1.
|
77
|
+
rubygems_version: 1.2.0
|
75
78
|
signing_key:
|
76
79
|
specification_version: 2
|
77
80
|
summary: Baby mix-in for Test::Unit which allows one to specify manual test cases with steps
|