Testing the MEAN Stack
summary
Demonstrates a full MEAN testing stack that actually runs: Karma test runner orchestrates Jasmine client tests and Mocha server tests, launching Chrome/Safari/PhantomJS/Slimer or capturing real devices via WebSockets; Grunt and npm wire the tasks into CI. Istanbul (karma-coverage) produces code‑coverage HTML reports showing ~40% overall, ~11% branch, ~20% function coverage. Protractor drives 10–15 minute end‑to‑end acceptance tests that fill forms and click buttons, and headless PhantomJS renders failure screenshots for CI.
AI-written summary · about
chapters (11)
- 0:00Start
- 14:35Named Configurations
- 25:04Spidermonkey
- 27:42Capture Your Browsers
- 32:32Reports
- 36:39Karma Html Reporter
- 36:56Configuration Blocks
- 39:26Code Coverage
- 40:51Run Instrumented Code in Production
- 42:25Branch Coverage
- 44:55Protractor
related talks
45mAutomated Testing JavaScript
45mTesting Big in JavaScript
59mTechniques and practices for testing Angular 2
06mTurbocharge Your Angular Testing Workflow
35mTesting in Frontend World
14mDebugging Secrets of a Lazy Developer
30mModern Web Testing: Going Beyond Selenium
37mCross browser unit testing JavaScript
