
Getting Started with JavaScript Unit Testing with Jasmine and Rushaine McBean
Hanselminutes with Scott Hanselman
00:00
How to Run a Test Suite With Jasmine
You're typically testing like partial views on the page. You don't need to re render your whole page for this fixture. So those would be isolated partials and fixtures folder. And then what you would do is you would load that up when you're setting up the suite. Before each and after each are well known function names, if they have lived within that describe block, they get called automatically before each before every block. If you're very new to testing and you feel like automation scares you, you can just run these directly in your browser by loading up a test runner That Jasmine gives you and it highlights things in green or red depending on where they're failing.
Play episode from 14:47
Transcript


