server icon indicating copy to clipboard operation
server copied to clipboard

[EPIC]: Testframe work for the UI

Open zyronix opened this issue 2 years ago • 1 comments

Description

The new-ui doesn't have any testing framework. Currently testing is quite time consuming.

  • [ ] Create manual test plan
  • [ ] Research possible angular testframeworks (Karma and Jasmine! https://karma-runner.github.io/latest/index.html)
  • [ ] Implement initial tests
  • [ ] Implement automated build-pipelines for testing

zyronix avatar Sep 01 '23 13:09 zyronix

Currently the frontend has the files for the angular testing framework, in each file is possible to find a component.spec.ts. If you run an angular test these files will be fired but of course will crash as data needs to be mocked up, or actions for buttons. Some components are almost identical and can be reusable but even that requires some work using the Angular framework.

xbenyx avatar Sep 06 '23 07:09 xbenyx