Skip to content

Commit

Permalink
Fixes acuminous#84
Browse files Browse the repository at this point in the history
  • Loading branch information
cressie176 committed May 13, 2014
1 parent 7a395b5 commit 583ef58
Show file tree
Hide file tree
Showing 8 changed files with 7,303 additions and 12 deletions.
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,9 @@ Yadda brings _true_ BDD to JavaScript test frameworks such as [Jasmine](http://p
Yadda's BDD implementation is like [Cucumber's](http://cukes.info/) in that it maps the ordinary language steps to code. Not only are the steps less likely to go stale, but they also provide a valuable abstraction layer and encourage re-use. You could of course just use [CucumberJS](https://github.com/cucumber/cucumber-js), but we find Yadda less invasive and prefer it's flexible syntax to Gherkin's. Yadda's conflict resolution is smarter too.

## Latest Version
The current version of Yadda is 0.10.9. Recent changes include:
* Fix for [issue-93](https://github.com/acuminous/yadda/issue/93). Thanks Thanks [simoami](https://github.com/simoami)
* Fix for [issue-88](https://github.com/acuminous/yadda/issues/88)
* Removal of incorrect French translation for 'background'
* Major rewrite of the mocha plugin. The old plugin will still work but has been deprecated and will be removed in 0.12.0. The replacement syntax is:

The current version of Yadda is 0.10.10. Recent changes include:
* Added jshint
* Added a basic example
```
var Yadda = require('yadda');
Yadda.plugins.mocha.AsyncScenarioLevelPlugin.init();
Expand Down Expand Up @@ -64,7 +61,7 @@ npm install yadda
```
### Browser based environments (e.g. QUnit)
```html
<script src="./lib/yadda-0.10.9.js"></script>
<script src="./lib/yadda-0.10.10.js"></script>
```
## Writing Yadda Tests
### Step 1 - Decide upon a directory structure, e.g.
Expand Down Expand Up @@ -130,7 +127,7 @@ new Yadda.FeatureFileSearch('./test/features').each(function(file) {
var yadda = new Yadda.Yadda(library);

scenarios(feature.scenarios, function(scenario) {
steps(scenario.steps, function(step, done) {
steps(scenario.steps, function(step, done) {
yadda.yadda(scenario.steps, done);
});
});
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yadda",
"version": "0.10.9",
"version": "0.10.10",
"description": "A true BDD framework for JavaScript",
"repo": "acuminous/yadda",
"keywords": [
Expand Down
Loading

0 comments on commit 583ef58

Please sign in to comment.