Tools/Frameworks
◉ Karma: testrunner which handles the test
framework and browser setups
◉ Jasmine: JavaScript unit testing library
◉ Jasmine AJAX: helper for Jasmine to intercept
AJAX calls
◉ Headless Chrome: Chrome run without a UI
6
◉ Fast: testsmust be run fast, reducing feedback loop
and can be run a lot
◉ Independent: tests aren’t reliant on each other
◉ Repeatable: can be run many times, different times,
different systems and yield same result
◉ Self-validating: doesn’t need a human to validate
◉ Thorough: should cover a representative set of use
cases (not just code coverage)
FIRST Principle
11