Make Velocity run unit tests from packages


#1

Hi!

I’ve moved all business code of my application to local smart packages. How can I make Velocity run the Jasmine tests in the packages’ test folder? Currently only tests under the application’s /tests/jasmine folder are considered.

Christian


#2

Taken from the Jasmine readme: https://github.com/Sanjo/meteor-jasmine#testing-a-package

VELOCITY_TEST_PACKAGES=1 meteor test-packages --driver-package velocity:html-reporter package-to-test

I believe if you leave off the package-to-test argument, it will run them all.