busterjs/buster — Issue #76: Reporter not showing all test cases?
Author: Integralist
Created: 2012-02-16 12:34:40+00:00
State: open

Hi,

My set-up: Buster version `1.1.0-3` on `Mac OS X 10.7.3`.

I have the following test script...

```js
buster.testCase('My test module', {

setUp: function (done) {
// Create a new assertion
buster.assertions.add('myIsArray', {
assert: function (obj) {
return Object.prototype.toString.call(obj).slice(8, -1) === 'Array';
}
});
},

'A test case': function(){
var num = 123;
assert.match(123, 123);
},

'Another test case set-up to see if it shows in the test results?': function(){
var num = 123;
assert.match(123, 123);
},

'Yet another test case set-up to see if it shows in the test results?': function(){
var num = 123;
assert.match(123, 123);
}

});
```

Executing the command `buster test --reporter specification` results in the following:

```sh
The "sys" module is now called "util". It should have a similar interface.
Firefox 10.0.1 OS X
✓ My test module A test case
✓ My test module Yet another test case set-up to see if it shows in the test results?
1 test case, 3 tests, 2 assertions, 0 failures, 0 errors, 2 timeouts
```

So although the results show `3 tests` the list only shows two with ticks?