Unit tests can be written in a variety of Javascript testing framework (Jasmine, QUnit, Mocha) ; this is JS code that is run in the browser.
Karma is a browser test runner.
Karma can launch the page in many browsers (FF, Chrome, or headless browsers like PhantomJs.)
The custom web page will be a bit different for each testing framework ; this is why karma has plugins for different frameworks.
No comments:
Post a Comment