elcuervo/gerbil — Issue #7: Scenario config
Author: elcuervo
Created: 2012-01-26 12:22:37+00:00
State: open
Labels: feature

Instead of having a third argument during scenario creation a 'config' keyword should be added.

```javascript
scenario('test', {
'config': function(c) {
c.formatter = prettyFormatter;
c.finish = function(results) {
// results => {passed: 1, failed: 2, pending: 3, assertions: 10}
};
},
});
```

Also a Gerbil.finish should be added to be executed in every test finish.