broccolijs / broccoli-plugin

Base class for Broccoli plugins
MIT License
25 stars 25 forks source link

tests appear to require the internet #6

Closed stefanpenner closed 9 years ago

stefanpenner commented 9 years ago

this isn't ideal with slow/non-existent net. Is it possible for it not to rely on it, or maybe have an offline mode?

joliss commented 9 years ago

We need to download multiple versions of Broccoli. (At the moment it's just one, but soon it'll be more.) I couldn't come up with a better way to do this, like going directly through npm, so ended up with a shell script.

If you want to avoid redownloading when rerunning the tests, you can run mocha, by the way.

stefanpenner commented 9 years ago

We need to download multiple versions of Broccoli. (At the moment it's just one, but soon it'll be more.) I couldn't come up with a better way to do this, like going directly through npm, so ended up with a shell script.

it would be handy (and speed up re-running of tests) if by default it reused existing versions, and only downloaded missing.

I can add the need shell script-foo to make that so, although it wont be quite as nice.

joliss commented 9 years ago

Sounds useful - done :)

stefanpenner commented 9 years ago

:+1: being on slow internets reminds of such things.