bmabey / cucumber forked from aslakhellesoy/cucumber
- Source
- Commits
- Network (280)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
html-visitor
(author)
Mon May 26 12:16:46 -0700 2008
cucumber /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Mon May 26 12:16:46 -0700 2008 | |
| |
History.txt | Tue Apr 08 14:40:41 -0700 2008 | |
| |
License.txt | Tue Apr 08 14:40:41 -0700 2008 | |
| |
Manifest.txt | Mon May 26 12:16:46 -0700 2008 | |
| |
README.txt | Sun May 25 06:53:31 -0700 2008 | |
| |
Rakefile | Tue Apr 08 14:40:41 -0700 2008 | |
| |
bin/ | Thu Apr 17 11:33:24 -0700 2008 | |
| |
config/ | Tue Apr 22 13:57:50 -0700 2008 | |
| |
examples/ | Mon May 26 12:16:46 -0700 2008 | |
| |
lib/ | Mon May 26 12:16:46 -0700 2008 | |
| |
script/ | Fri Apr 11 09:34:08 -0700 2008 | |
| |
setup.rb | Tue Apr 08 14:40:41 -0700 2008 | |
| |
spec/ | Mon May 26 12:16:46 -0700 2008 | |
| |
tasks/ | Tue Apr 22 14:02:44 -0700 2008 | |
| |
website/ | Fri Apr 11 09:34:08 -0700 2008 |
README.txt
= cucumber * FIX http://rspec.info/cucumber == DESCRIPTION: This code parses RSpec stories. It uses a Treetop grammar to do the job, and this grammar is extended by users of the library. This design makes the code very compact, and it makes it easy to give precise line and column info on parse errors. Further, when a step fails, the story file will appear in the stack trace, along with regular ruby files. == FEATURES/PROBLEMS: * Run examples with: ** ruby -Ilib bin/cucumber examples/simple --require examples/simple/steps ** ruby -Ilib bin/cucumber examples/web --require examples/web/steps * TODO: Refactor: Extract explicit node classes with RDoc (for better API doc) * TODO: OK Get rid of the compile method. Compile the parser in Rake. * TODO: Make grammar support \r\n, \r and \n (Add some fixture stories for that) * TODO: OK Make grammar support indentation * TODO: OK Make grammar be totally relaxed about narrative * TODO: OK Add a yaml file for different languages * TODO: OK Custom nodes for the syntax tree * TODO: OK Actually execute the stories * TODO: Make rake run specs by default * TODO: OK Make it work with pure ruby regexen * TODO: Make it work with strings * TODO: bin/cucumber --require [dir|file|glob]* --language no --format [file]* * Pending steps shold print a block of code that can be pasted into code * cucumber --where "Some text from a step" that prints "__FILE__:__LINE__ (STEP PATTERN)" * Customisable trace output (like javascriptlint) * Experiment: Make $variables become @variables == SYNOPSIS: FIX (code sample of usage) == REQUIREMENTS: * gem install treetop == INSTALL: * gem install cucumber == LICENSE: (The MIT License) Copyright (c) 2008 Aslak Hellesøy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
