- cukes.info: The official Cucumber website
- cucumber/cucumber-js: The repository
- cucumber.no.de: try Cucumber.js right in your browser
| Given a user | |
| When I GET the user as JSON | |
| Then I receive the JSON representation of the user |
| TypeError: Object #<World> has no method 'visit' | |
| at World.<anonymous> (/Users/jnh/Dev/ember-newsflash/features/step_definitions/inMemoryAdapter.coffee:8:19) | |
| at Object.invoke (/Users/jnh/Dev/ember-newsflash/node_modules/cucumber/lib/cucumber/support_code/step_definition.js:29:14) | |
| at Object.execute (/Users/jnh/Dev/ember-newsflash/node_modules/cucumber/lib/cucumber/ast/step.js:142:22) | |
| at Object.acceptVisitor (/Users/jnh/Dev/ember-newsflash/node_modules/cucumber/lib/cucumber/ast/step.js:133:12) | |
| at Object.executeStep (/Users/jnh/Dev/ember-newsflash/node_modules/cucumber/lib/cucumber/runtime/ast_tree_walker.js:170:12) | |
| at Object.processStep (/Users/jnh/Dev/ember-newsflash/node_modules/cucumber/lib/cucumber/runtime/ast_tree_walker.js:165:14) | |
| at /Users/jnh/Dev/ember-newsflash/node_modules/cucumber/lib/cucumber/runtime/ast_tree_walker.js:67:16 | |
| at callUserFunctionAndBroadcastAfterEvent (/Users/jnh/Dev/ember-newsflash/node_modules/cucumber/lib/cucumber/runtime/ast_tree_walker.js:91:9) | |
| BeforeFeatures | |
| BeforeFeature | |
| BeforeScenario | |
| BeforeStep | |
| StepResult | |
| AfterStep | |
| AfterScenario | |
| AfterFeature | |
| AfterFeatures |
| http://git.io/cukes -> https://github.com/cucumber | |
| http://git.io/cuke -> https://github.com/cucumber/cucumber | |
| http://git.io/cuke4duke -> https://github.com/cucumber/cuke4duke | |
| http://git.io/cukebootstrap -> https://github.com/cucumber/cucumber-boostrap | |
| http://git.io/cukefeatures -> https://github.com/cucumber/cucumber-features | |
| http://git.io/cukehtml -> https://github.com/cucumber/cucumber-html | |
| http://git.io/cukejvm -> https://github.com/cucumber/cucumber-jvm | |
| http://git.io/cukejs -> https://github.com/cucumber/cucumber-js | |
| http://git.io/cukepatch -> https://github.com/cucumber/cukepatch | |
| http://git.io/cukerails -> https://github.com/cucumber/cucumber-rails |
| <!doctype html> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="user-scalable=no, initial-scale=1.0"> | |
| <meta name="apple-mobile-web-app-capable" content="yes"> | |
| <link rel="stylesheet" href="http://sharedfil.es/style-objajqsQWR.css"> | |
| <title>example</title> | |
| <body> | |
| <p id="log"></p> |
| Feature: subscribe | |
| Scenario: ... | |
| Given an interest I'm not subscribed to | |
| When I subscribe to the interest | |
| Then I should be subscribed to the interest |
| var links = document.getElementsByTagName("a"); | |
| var len = links.length; | |
| for (var i=0; i < len; i++) { | |
| var link = links[i]; | |
| link.addEventListener("click", function(e) { | |
| e.preventDefault(); | |
| }); | |
| link.addEventListener("touchend", function() { | |
| document.location = this.href; |
| describe Class do | |
| describe "SOME_CONSTANT" do | |
| it "is 12" do | |
| Class::SOME_CONSTANT.should eql 12 | |
| end | |
| end | |
| end |
| //// https://github.com/cucumber/ace/blob/gherkin-mode/lib/ace/mode/gherkin_highlight_rules.js //// | |
| define('ace/mode/gherkin_highlight_rules', function(require, exports, module) { | |
| var oop = require("pilot/oop"); | |
| var TextHighlightRules = require("ace/mode/text_highlight_rules").TextHighlightRules; | |
| var GherkinHighlightRules = function() | |
| { | |
| this.$rules = { |