cuke4php 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +3 -0
- data/Gemfile +8 -0
- data/LICENSE +20 -0
- data/README.md +54 -0
- data/Rakefile +75 -0
- data/VERSION +1 -0
- data/bin/cuke4php +22 -0
- data/cucumber.yml +1 -0
- data/cuke4php.gemspec +92 -0
- data/features/Cuke4Php.feature +42 -0
- data/features/step_definitions/Cuke4Php.wire +4 -0
- data/features/step_definitions/TestSteps.php +88 -0
- data/features/step_definitions/WireSteps.php +87 -0
- data/features/support/Env.php +13 -0
- data/lib/Cucumber.php +14 -0
- data/lib/CucumberScenario.php +122 -0
- data/lib/CucumberSteps.php +79 -0
- data/lib/Cuke4Php.php +242 -0
- data/php_bin/cuke4php_server +20 -0
- data/tests/lib/CucumberScenarioTest.php +161 -0
- data/tests/lib/Cuke4PhpTest.php +117 -0
- metadata +190 -0
metadata
ADDED
@@ -0,0 +1,190 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: cuke4php
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 59
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 9
|
9
|
+
- 0
|
10
|
+
version: 0.9.0
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Kevin Olbrich
|
14
|
+
- Alessandro Dal Grande
|
15
|
+
autorequire:
|
16
|
+
bindir: bin
|
17
|
+
cert_chain: []
|
18
|
+
|
19
|
+
date: 2011-01-27 00:00:00 -05:00
|
20
|
+
default_executable: cuke4php
|
21
|
+
dependencies:
|
22
|
+
- !ruby/object:Gem::Dependency
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
name: cucumber
|
26
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
28
|
+
requirements:
|
29
|
+
- - ">="
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
hash: 3
|
32
|
+
segments:
|
33
|
+
- 0
|
34
|
+
version: "0"
|
35
|
+
requirement: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
type: :development
|
38
|
+
prerelease: false
|
39
|
+
name: bundler
|
40
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 15
|
46
|
+
segments:
|
47
|
+
- 1
|
48
|
+
- 0
|
49
|
+
version: "1.0"
|
50
|
+
requirement: *id002
|
51
|
+
- !ruby/object:Gem::Dependency
|
52
|
+
type: :development
|
53
|
+
prerelease: false
|
54
|
+
name: jeweler
|
55
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
56
|
+
none: false
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
hash: 3
|
61
|
+
segments:
|
62
|
+
- 0
|
63
|
+
version: "0"
|
64
|
+
requirement: *id003
|
65
|
+
- !ruby/object:Gem::Dependency
|
66
|
+
type: :runtime
|
67
|
+
prerelease: false
|
68
|
+
name: cucumber
|
69
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
70
|
+
none: false
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
hash: 3
|
75
|
+
segments:
|
76
|
+
- 0
|
77
|
+
version: "0"
|
78
|
+
requirement: *id004
|
79
|
+
- !ruby/object:Gem::Dependency
|
80
|
+
type: :development
|
81
|
+
prerelease: false
|
82
|
+
name: bundler
|
83
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
84
|
+
none: false
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
hash: 3
|
89
|
+
segments:
|
90
|
+
- 0
|
91
|
+
version: "0"
|
92
|
+
requirement: *id005
|
93
|
+
- !ruby/object:Gem::Dependency
|
94
|
+
type: :development
|
95
|
+
prerelease: false
|
96
|
+
name: jeweler
|
97
|
+
version_requirements: &id006 !ruby/object:Gem::Requirement
|
98
|
+
none: false
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
hash: 3
|
103
|
+
segments:
|
104
|
+
- 0
|
105
|
+
version: "0"
|
106
|
+
requirement: *id006
|
107
|
+
description: Using this protocol it is possible to directly interact with PHP code at any level without the need for a web server. To accomplish this, when cucumber is running against a directory containing feature files and it cannot resolve a particular step definition, it will ask a known wire server (as defined in a .wire file) to interpret and run those steps.
|
108
|
+
email:
|
109
|
+
- kevin.olbrich+cuke4php@gmail.com
|
110
|
+
- aledalgrande@gmail.com
|
111
|
+
executables:
|
112
|
+
- cuke4php
|
113
|
+
extensions: []
|
114
|
+
|
115
|
+
extra_rdoc_files:
|
116
|
+
- LICENSE
|
117
|
+
- README.md
|
118
|
+
files:
|
119
|
+
- .document
|
120
|
+
- Gemfile
|
121
|
+
- LICENSE
|
122
|
+
- README.md
|
123
|
+
- Rakefile
|
124
|
+
- VERSION
|
125
|
+
- bin/cuke4php
|
126
|
+
- cucumber.yml
|
127
|
+
- cuke4php.gemspec
|
128
|
+
- features/Cuke4Php.feature
|
129
|
+
- features/step_definitions/Cuke4Php.wire
|
130
|
+
- features/step_definitions/TestSteps.php
|
131
|
+
- features/step_definitions/WireSteps.php
|
132
|
+
- features/support/Env.php
|
133
|
+
- lib/Cucumber.php
|
134
|
+
- lib/CucumberScenario.php
|
135
|
+
- lib/CucumberSteps.php
|
136
|
+
- lib/Cuke4Php.php
|
137
|
+
- php_bin/cuke4php_server
|
138
|
+
- tests/lib/CucumberScenarioTest.php
|
139
|
+
- tests/lib/Cuke4PhpTest.php
|
140
|
+
has_rdoc: true
|
141
|
+
homepage: http://github.com/olbrich/cuke4php
|
142
|
+
licenses: []
|
143
|
+
|
144
|
+
post_install_message: |
|
145
|
+
********************************************************************************
|
146
|
+
|
147
|
+
Please install PHPUnit >= 3.0 if you've not already done it!
|
148
|
+
|
149
|
+
Add PEAR channels:
|
150
|
+
pear channel-discover pear.phpunit.de
|
151
|
+
pear channel-discover components.ez.no
|
152
|
+
pear channel-discover pear.symfony-project.com
|
153
|
+
|
154
|
+
Install PHPUnit:
|
155
|
+
pear install phpunit/PHPUnit
|
156
|
+
|
157
|
+
********************************************************************************
|
158
|
+
|
159
|
+
rdoc_options: []
|
160
|
+
|
161
|
+
require_paths:
|
162
|
+
- lib
|
163
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
164
|
+
none: false
|
165
|
+
requirements:
|
166
|
+
- - ">="
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
hash: 3
|
169
|
+
segments:
|
170
|
+
- 0
|
171
|
+
version: "0"
|
172
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
173
|
+
none: false
|
174
|
+
requirements:
|
175
|
+
- - ">="
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
hash: 3
|
178
|
+
segments:
|
179
|
+
- 0
|
180
|
+
version: "0"
|
181
|
+
requirements:
|
182
|
+
- PHP 5.2+
|
183
|
+
- PHPUnit 3.0+
|
184
|
+
rubyforge_project:
|
185
|
+
rubygems_version: 1.3.7
|
186
|
+
signing_key:
|
187
|
+
specification_version: 3
|
188
|
+
summary: Implementation of the Cucumber wire protocol for PHP projects
|
189
|
+
test_files: []
|
190
|
+
|