2

Velocity is an amazing testing framework for Meteor and I am currently using it to test my application code.

Now I added a local package to the app, but I don't know how (or if) I can test the package with Velocity, too. I would like to drop tinyTest in favor for a consistent testing framework - Velocity.

Is it possible to test packages with Velocity? How should the file structure look like?

4

1 回答 1

2

Yes, it is possible to test packages with sanjo:jasmine. It works in nearly the same way as with TinyTest. You can find all information to get started in the sanjo:jasmine README. There is also an example package. To run the tests, use the commands from the README.

If you need additional information, let me know.

于 2015-06-18T22:04:45.330 回答