vowsjs / vows

Asynchronous BDD & continuous testing for node.js
http://vowsjs.org
Apache License 2.0
1.56k stars 165 forks source link

TypeError: Object spec has no method 'run' #192

Closed unscene closed 6 years ago

unscene commented 12 years ago

On node 0.6.10, using that latest version of vows, running:

vows -w *.js test

On one of the example tests that use .export(module), errors out with the following.

TypeError: Object spec has no method 'run'
    at run (/usr/local/lib/node_modules/vows/bin/vows:428:19)
    at runSuites (/usr/local/lib/node_modules/vows/bin/vows:437:6)
    at changed (/usr/local/lib/node_modules/vows/bin/vows:386:13)
    at StatWatcher.<anonymous> (/usr/local/lib/node_modules/vows/bin/vows:406:21)
    at StatWatcher.<anonymous> (events.js:70:17)

I was looking at bin/vows and it seems that the files that are parsed near line 246 is a list of reporters attached to the cwd, not a list of files.

strugee commented 8 years ago

@unscene you should leave this open in case someone ever comes along, forks Vows, and gives it the attention it deserves. They'll look at the existing open issues first.

unscene commented 8 years ago

@strugee Fair enough, was just cleaning out old issues without thought yesterday.

evanp commented 6 years ago

vows 1.x doesn't support the -w flag, so I'm going to close this. Thanks for keeping it open, though.