arunoda / laika

testing framework for meteor
http://arunoda.github.io/laika/
MIT License
242 stars 38 forks source link

Can you add a publish-subscribe test example using laika #130

Open kaushik1979 opened 10 years ago

kaushik1979 commented 10 years ago

Arunoda,

I have a pre-existing code, which uses publish subscribing for data between client and server. Testing server-publisher is becoming very slow and complicated in the existing project so I decided to integrate with laika so that I can quickly test the publishers and push it out for other team members to use.

Can you give an example where publishers reside in server/ directory and then the test code tries accessing it using the published collection to query data?