You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently utilize Karma and Jasmine for unit tests. This works, but is slow and the tests become hard to maintain. These tools are outdated, but mature. We have also found that certain tests are flaky, partly due to our implementation, but also due to the tools we have at our disposal. We should evaluate more modern tools such as web-test-runner and Playwright for improved testing practices and stability.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Proposal
We currently utilize Karma and Jasmine for unit tests. This works, but is slow and the tests become hard to maintain. These tools are outdated, but mature. We have also found that certain tests are flaky, partly due to our implementation, but also due to the tools we have at our disposal. We should evaluate more modern tools such as web-test-runner and Playwright for improved testing practices and stability.
At the time of writing, web-test-runner or Vitest would work very well
Affected components
Only affects tests, not components, but our test suite is large.
Benefits
Combined with the architectural proposal, our tests could be more focused.
Caveats
Beta Was this translation helpful? Give feedback.
All reactions