Skip to content

Jasmine FAQ (Unit Testing)

htsungwing edited this page Feb 2, 2016 · 16 revisions

Unit Testing with Jasmine

### I'm implementing a page in Aurelia? What can I test? What should I test? ### Do I need to use setup or teardown to setup or destroy any state? ### Most of the behavior that I want to test depends on data loaded from Firebase in the cloud. How do I test this? ### I'm writing some functionality in a new JS file. Is there a convention on where I should put the corresponding tests in the file structure? ### I wrote some tests. How do I run them? ### What is a Spy, and when should I use it? ### Where can I learn more about Jasmine?

Clone this wiki locally