m.k...@sprax.eu writes:
> Hi,
>
> had set up a fresh dev-env on WinXP, node 0.8.16 (npm 1.1.16), then
> buster-dev-tools/run-tests.
>
> First off, it needs buster in project-list.js. This seems to have been
> busted out of there sometime in the past. Any reason or just accident?
It's _temporarily_ taken out. Reason is that August and I decided to get
all the 0.7 stuff on master a while ago to finish it up. So we updated
dev-tools to only include things ready for 0.7. Unfortunately, this work
has been quite delayed, so dev-tools have stayed incomplete for some
time.
>
> Then, with buster in project-list.js, it's still a complete fail: not with
> test failures but rather nearly everything exploding with an uncaught
> exception like this:
Yes, I've fixed run-tests now, by using buster-node to run tests
instead. Reason is that buster-node is a new module that ships the bare
necessities to get node testing going. It does not depend on the CLI
stuff from buster-test-cli, which is the final part missing from 0.7
(and the reason why the buster module is still not in project-list).
> At first I thought it might be due to the changed API of assert.exception (docs
> <
http://docs.busterjs.org/en/latest/modules/buster-assertions/#assert.exception>should
> be adjusted!).
> But: shouldn't the old style ( assert.exception( someFunc() { ... },
> "ErrorName", "message-for-test-fail") ) still work with the new API?
It should. When I fixed the test setup, I only saw one failure. Try
pulling down my changes.
>
> p.s.: Generally I'm trying to work on Windows support, taking a workable
> dev-env as a first goal. It's got code itself - which should be guarded by
> tests, so... But I need not really argue for tests for everything in a
> project like this, or should I?
Cool, no need for arguments ;)
Sorry for the inconvenience
Christian