Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

increase unit test coverage #5217

Closed
3 tasks done
individual-it opened this issue Jun 9, 2021 · 1 comment
Closed
3 tasks done

increase unit test coverage #5217

individual-it opened this issue Jun 9, 2021 · 1 comment
Labels

Comments

@individual-it
Copy link
Member

individual-it commented Jun 9, 2021

This is an epic and needs to be divided into smaller parts.
Currently only very limited areas are covered by unit test for now this areas should be prioritised to be covered:

  • vue components
    • events (fired mostly by @click, @input, $emit): check if desired action happens, check for issues when invalid input is given
    • properties: check if desired action happens when certain properties are set or unset
    • configuration: check if setting specific configurations lead to the desired outcomes
    • displayed Vue elements: check if elements are displayed & have the correct content (mostly triggered by events, properties, configurations)
  • helpers: check the logic of the functions with simple unit tests, they should not have anything to do with Vue

For now don't test:

  • functions in the store (they should be moved out from there in the future)
  • functions that use HTTP requests (they will be moved to the SDK)

Other jobs:

@pascalwengerter
Copy link
Contributor

Closed as tracked in #5234, #5236, #5237, thanks for the great work so far!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants