maiha-crb 0.1 → 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 +38 -0
- data/Rakefile +1 -1
- data/bin/crb +2 -1
- metadata +1 -1
data/README
CHANGED
@@ -0,0 +1,38 @@
|
|
1
|
+
crb
|
2
|
+
===
|
3
|
+
|
4
|
+
An irb console for cucumber world
|
5
|
+
|
6
|
+
|
7
|
+
Usage
|
8
|
+
=====
|
9
|
+
|
10
|
+
Use 'crb' command as same as 'cucumber' command
|
11
|
+
% crb (... cucumber options ...)
|
12
|
+
|
13
|
+
And then you are in cucumber world via irb
|
14
|
+
|
15
|
+
|
16
|
+
Example
|
17
|
+
=======
|
18
|
+
|
19
|
+
% vi features/steps/example_step.rb
|
20
|
+
Given /^x$/ do
|
21
|
+
p "'Given x' is called"
|
22
|
+
end
|
23
|
+
|
24
|
+
% crb features
|
25
|
+
irb(CRB):001:0> Given 'x'
|
26
|
+
"'Given x' is called"
|
27
|
+
=> nil
|
28
|
+
irb(CRB):002:0> Given 'y'
|
29
|
+
Cucumber::Undefined: Undefined step: "y"
|
30
|
+
from /usr/lib/ruby/gems/1.8/gems/cucumber-0.3.9/lib/cucumber/step_mother.rb:220:in `step_match'
|
31
|
+
from /usr/lib/ruby/gems/1.8/gems/cucumber-0.3.9/lib/cucumber/world.rb:15:in `Given'
|
32
|
+
|
33
|
+
|
34
|
+
Author
|
35
|
+
======
|
36
|
+
|
37
|
+
maiha@wota.jp
|
38
|
+
|
data/Rakefile
CHANGED
@@ -9,7 +9,7 @@ AUTHOR = "maiha"
|
|
9
9
|
EMAIL = "maiha@wota.jp"
|
10
10
|
HOMEPAGE = "http://github.com/maiha/crb"
|
11
11
|
SUMMARY = "A cucumber console that offers cucumber world enviroment on irb"
|
12
|
-
GEM_VERSION = "0.1"
|
12
|
+
GEM_VERSION = "0.1.1"
|
13
13
|
|
14
14
|
spec = Gem::Specification.new do |s|
|
15
15
|
s.rubyforge_project = 'asakusarb'
|
data/bin/crb
CHANGED