Skip to content

Implement tests #11

@DominikRafacz

Description

@DominikRafacz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions