Rajit Garg
Rajit Garg

Reputation: 539

Meteor Integration Testing Examples

I am searching for meteor Client/server Testing Examples, but I have not found much more on this, I have read velocity for this, but not got much examples to create testcases, Can anyone help me to provide some links, so that I can learn more on this, Specially I am looking for client side testing first.

where i am looking for this

I have required to login, logout, expect data in collections, insert data, remove data from client side,

Any Help is really appreciated...

Upvotes: 0

Views: 183

Answers (1)

cwahlfeldt
cwahlfeldt

Reputation: 582

Mocha seems to be very popular for testing in meteor https://atmospherejs.com/mike/mocha. This will install velocity and mocha.

Here are some examples for both client and server side tests using mocha. https://github.com/meteor-velocity/velocity-examples/tree/master/leaderboard-mocha

Here is a cool book abut meteor testing. I have yet to read it but it seems really cool other than the fact that its 30 bucks. http://www.meteortesting.com/

Upvotes: 1

Related Questions