clucumber 0.1.0 → 0.1.1
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/{README.rdoc → README.md} +13 -9
- metadata +4 -4
data/{README.rdoc → README.md}
RENAMED
@@ -6,6 +6,15 @@ protocol](http://wiki.github.com/aslakhellesoy/cucumber/wire-protocol) in (as po
|
|
6
6
|
write [cucumber](http://cukes.info/) features, and write lisp code to execute
|
7
7
|
your steps.
|
8
8
|
|
9
|
+
Using clucumber
|
10
|
+
---------------
|
11
|
+
|
12
|
+
First, install the clucumber gem via rubygems:
|
13
|
+
|
14
|
+
gem install clucumber
|
15
|
+
|
16
|
+
On the lisp side, clucumber depends on cl-interpol, cl-ppcre, trivial-backtrace, usocket and st-json. All of these are available in clbuild, and I recommend you use this to manage your lisp libraries.
|
17
|
+
|
9
18
|
Getting started
|
10
19
|
---------------
|
11
20
|
|
@@ -21,11 +30,9 @@ Files in support and step_definitions/ are loaded (not file-compiled)
|
|
21
30
|
in alphabetical order, with support/ files being loaded before step
|
22
31
|
definitions.
|
23
32
|
|
24
|
-
|
25
|
-
-------------
|
26
|
-
|
27
|
-
In your `features/support/env.rb`, you load the clucumber.rb included in this distribution. Then, you run something like this:
|
33
|
+
In your `features/support/env.rb`, you use something like this:
|
28
34
|
|
35
|
+
require 'clucumber'
|
29
36
|
begin
|
30
37
|
@main_clucumber = ClucumberSubprocess.new(File.expand_path("../", File.dirname(__FILE__)),
|
31
38
|
:port => 42428)
|
@@ -46,9 +53,6 @@ Then, on the command line, you run cucumber:
|
|
46
53
|
|
47
54
|
$ cucumber
|
48
55
|
|
49
|
-
And you watch the lines zip by.
|
50
|
-
|
51
|
-
That should be all (-:
|
56
|
+
And you watch the green or yellow lines zip by.
|
52
57
|
|
53
|
-
|
54
|
-
interesting examples that you can use as a reference.
|
58
|
+
To see an example of a test suite that uses clucumber, see [the features directory in cl-beanstalk](http://github.com/antifuchs/cl-beanstalk/tree/master/features/). It comes with steps defined in ruby and Common Lisp.
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 1
|
9
|
+
version: 0.1.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Andreas Fuchs
|
@@ -51,14 +51,14 @@ extensions: []
|
|
51
51
|
|
52
52
|
extra_rdoc_files:
|
53
53
|
- LICENSE
|
54
|
-
- README.
|
54
|
+
- README.md
|
55
55
|
files:
|
56
56
|
- lib/clucumber.rb
|
57
57
|
- lib/clucumber/clucumber.asd
|
58
58
|
- lib/clucumber/packages.lisp
|
59
59
|
- lib/clucumber/server.lisp
|
60
60
|
- LICENSE
|
61
|
-
- README.
|
61
|
+
- README.md
|
62
62
|
has_rdoc: true
|
63
63
|
homepage: http://github.com/antifuchs/clucumber
|
64
64
|
licenses: []
|