Skip to content

Evaluate new environment for frontend tests

We are currently using Karma in combination with Jasmine to run our frontend tests. This has a few downsides, namely:

Alternatives to look at

I suggest we limit this evaluation to the tools that are described in the Vue testing guidelines:

Criteria to evaluate

  • solves the above mentioned points
  • get it running with our tests takes less than one release cycle
  • running the tests does not take much longer than currently (2 minutes)
  • popularity (in general but also within the GitLab team)
  • supports everything that we are currently using in our tests:
    • HTML fixtures
    • mocks / spies
    • manipulating clock
    • calculating test coverage
    • assertions on the DOM
    • run individual tests
Edited by Inactive Account