arunoda / laika

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

Access to server and client at the suite-level #109

Open adamantivm opened 10 years ago

adamantivm commented 10 years ago

Is there any way to get access to the server and client objects outside of each particular test?

I would like to execute some meteor server-side code before all of the tests run and then after all of the tests finished (instead of each time before and after each test).

In mocha I would normally do this using bdd style and the before() and after() interfaces, but those don't get any reference to client and server objects.

Any alternative that I'm failing to see?