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

Implement tests #11

Open
13 tasks
DominikRafacz opened this issue Jul 23, 2021 · 1 comment
Open
13 tasks

Implement tests #11

DominikRafacz opened this issue Jul 23, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@DominikRafacz
Copy link
Collaborator

DominikRafacz commented Jul 23, 2021

There are numerous tests that need to be implemented. This issue collects them in order to keep track which are already done and which are yet to be written. This issue will be updated as code will be further specialized and partintioned into more atomical functions and objects.

Unit tests

Conventional tests for static functions

  • tests for preparing data (ag_data_* )
  • tests for ag_option

Reactivity tests

For each input there should be tests that check if they cause correct output changes

  • graphControlServer
  • interactionsTableServer
  • nodeInfoServer
  • server

Custom elements tests

Those tests can probably be easiest to perform by comparing HTML results when changing input.

  • ifelsePanel
  • filterCheckbox

UI tests

Check if interacting with UI cause server to perform operations. Check if change of server output cause UI to change. Possibly using snapshots.

  • graphControlUI
  • interactionsTableUI
  • nodeInforUI
  • ui

Integration tests

  • tests that check if app starts without throwing an error etc.
@ErdaradunGaztea ErdaradunGaztea pinned this issue Jul 24, 2021
@ErdaradunGaztea ErdaradunGaztea added the enhancement New feature or request label Jul 24, 2021
@michbur
Copy link
Contributor

michbur commented Feb 8, 2022

After the release @ErdaradunGaztea adds more tests.

@ErdaradunGaztea ErdaradunGaztea unpinned this issue Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants