cloudhead/vows — Issue #154: Vows claiming errors but not naming the failing tests
Author: richmarr
Created: 2011-11-13 15:41:10+00:00
State: open

I'm running the tests that come with http://github.com/flatiron/resourceful (v0.1.0) and getting the following behaviour. The output counts 22 tests honoured (which are listed) but also 4 errors, which aren't listed anywhere.

The errors that Vows is counting aren't listed anywhere as far as I can see, so I'll have to manually go through the tests and cross-reference in order to figure out which ones are failing.

node --version: 0.6.0
vows --version: 0.5.13

Full verbose output below:

richardmarr ~/Projects/resourceful$vows --spec -i -v
vows bin argv []
vows bin options {
reporter: 'dot-matrix',
matcher: /.*/
}
vows bin discovering folder structure
vows bin discovered ./test
vows runner loading [
'/Users/richardmarr/Projects/resourceful/test/cache-test',
'/Users/richardmarr/Projects/resourceful/test/engines/couchdb-engine-test',
'/Users/richardmarr/Projects/resourceful/test/engines/couchdb-filter-test',
'/Users/richardmarr/Projects/resourceful/test/engines/couchdb-relationship-test',
'/Users/richardmarr/Projects/resourceful/test/events-test',
'/Users/richardmarr/Projects/resourceful/test/hooks-test',
'/Users/richardmarr/Projects/resourceful/test/relationship-test',
'/Users/richardmarr/Projects/resourceful/test/resourceful-test'
]
vows runner running undefined The "sys" module is now called "util". It should have a similar interface.

♢ resourceful/resource/cache

When creating an instance, and saving it and then loading it back up with get()
✓ it should return the previous instance
When creating an instance, and saving it and then loading it back up with find()
✓ it should return the previous instance

When creating an instance, and saving it and then clearing the cache and loading it back up with get()
✓ it should return a new instance

vows runner running undefined vows runner running undefined vows runner running undefined vows runner running undefined
♢ resourceful/events

an Article with a 'success' listener on save
✓ should add the bound method to factory's listeners array
an Article with a 'success' listener on save when calling save() on an instance of Article
✓ should trigger the bound function

vows runner running undefined
♢ resourceful/hooks

another Resource with 'after' hooks on save
✓ should just have the two 'after' hooks registered
a Resource with 'before' hooks on save when calling save() on an instance of Article
✓ should trigger both hooks in the right order
another Resource with 'after' hooks on save when calling save() on an instance of Article
✓ should trigger both hooks in the right order

vows runner running undefined
♢ resourcefule/memory/relationship

Initializing A memory store with author and article models with Author #1
✓ should exist
Initializing A memory store with author and article models with Author #2
✓ should exist
Initializing A memory store with author and article models with Author #1 with article #1
✓ should exist
Initializing A memory store with author and article models with Author #1 with article #2
✓ should exist
Initializing A memory store with author and article models with Author #2 with article #1
✓ should exist
Initializing A memory store with author and article models with Author #2 with article #2
✓ should exist

One-To-Many paul.articles
✓ should return only his articles
One-To-Many bob.articles
✓ should return only his articles
One-To-Many Article.byAuthor('paul')
✓ should return only his articles
One-To-Many Article.byAuthor('bob')
✓ should return only his articles
One-To-Many Article.byAuthor('paul') and .author() call for first article
✓ should return himself
One-To-Many Article.byAuthor('paul') and .author() call for second article
✓ should return himself
One-To-Many Article.byAuthor('bob') and .author() call for first article
✓ should return himself
One-To-Many Article.byAuthor('bob') and .author() call for second article
✓ should return himself

vows runner running undefined vows runner finish
✗ Errored » 22 honored ∙ 4 errored (0.021s)