User Tools

Site Tools


devops:tests:karma

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
devops:tests:karma [2023/11/01 07:15] – removed - external edit (Unknown date) 127.0.0.1devops:tests:karma [2023/11/01 07:15] (current) – ↷ Page moved from camunda:devops:tests:karma to devops:tests:karma skipidar
Line 1: Line 1:
 +===== Karma =====
  
 +A "Javascript **unit** test runner".
 +This means that Karma executes unit tests, written in javascript.
 +
 +This happens as following:
 +  * Start up a NodeJS
 +  * Launch the real browser via a [[http://karma-runner.github.io/2.0/config/browsers.html|browser launcher]]
 +  * Execute JavaScript code on the NodeJS browser and check the results.
 +
 +
 +Only **UNIT TESTS** are executed here - means only separate functions will be executed, **no complete applicaiton** is executed.
 +
 +Compared to that protractor executes the application and runs the tests against it. (End-To-End tests)
 +
 +{{https://lh3.googleusercontent.com/-UGdJAD7BSgQ/Vjk5XBcUsPI/AAAAAAAACfI/cqPiLPeaINA/s1024-Ic42/Karma.jpg}}