forked from christophermoura/rcumber
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
67 lines (50 loc) · 3.06 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
h2. Overview of RCumber
RCumber is a rails plugin that gives your customers a web interface where they can view, edit and run Cucumber tests directly on your rails project.
First you need to have "rspec":http://github.com/dchelimsky/rspec/tree/master, "rspec-on-rails":http://github.com/dchelimsky/rspec-rails/tree/master and "Cucumber":http://github.com/aslakhellesoy/cucumber/tree/master installed and you'll need to have some cucumber tests written in your project.
Documentation / Wiki
--------------------
http://github.com/jgoodsen/rcumber/wikis
Current Features
----------------
Currently, Rcumber is just a simple CRUD viewer for cucumber tests in a rails project with the ability to run the tests and see the results.
KNOWN BUGS
------------
* Not displaying stderr in test results - Need a tighter way to run than using system() ?
* Not handling creating a new test with the same name as an existing test - currently overwrites
* need to improve field checking, error handling and help on creation screen - it's confusing - do they really need to manage the filename?
ROADMAP / UPCOMING FEATURES
----------------
* Show all tests next to the current test for faster navigation.
* Create a demo/home site at radsoft.com where people can play with this plugin
* Add some screen shots to the home site
* Graphical commander panel to run and show the red/green
* Click on a stack trace in the results and navigate to textmate
* Extract user configurable parameters into a ./config file
* Integrate some relevant 3rd party agile articles/blogs on story tests and cucumber using a feed from radsoft.com (user definable).
* better graphical feedback on a test run
* structured editing of a cucumber test
* subversion and git integration for auto-commit of story test updates
3rd PARTY INTEGRATION PLANS
---------------------------
* Integration with radtrack - see radtrack project for details
h2. Installation
If you're looking at this right now - it's only been a day since I've pulled this out of a project (and I'm still a newbie at building my own plugin) - and there's some kinks - here they are - any help would be appreciated!:
h3. Add to your routes
You need to add the following to your routes.rb until I figure out how to bootstrap this in the plugin init process:
<pre>
map.rcumber 'rcumber', :controller => 'rcumbers', :action => 'index'
map.rcumber_runall 'rcumber/runall', :controller => 'rcumbers', :action => 'runall'
map.rcumber_runmany 'rcumber/run_many', :controller => 'rcumbers', :action => 'run_many'
map.resources :rcumbers do |rcumber|
rcumber.run 'run', :controller => 'rcumbers', :action => 'run'
end
</pre>
It's simple to add rcumber to your rails project - just install it as plugin into your project:
<pre>
cd ./vendor/plugins
git clone git://github.com/jgoodsen/rcumber.git
cd rcumber
rake rcumber:install <-- all this does is copy the nifty cucumber.gif to your /images directory
</pre>
Step two: just start your rails server and visit http://localhost:3000/rcumber
That's it! You should be looking at your cool cukes through a sexy web interface.