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

Testing Dashboard components and functionalities #300

Open
Pavinati opened this issue Mar 10, 2021 · 1 comment
Open

Testing Dashboard components and functionalities #300

Pavinati opened this issue Mar 10, 2021 · 1 comment
Labels
discussion This issue needs to be investigated/discussed (it might be already fixed, invalid or duplicated)

Comments

@Pavinati
Copy link
Collaborator

As the codebase grows, we need to increase the amount of features we're testing.
Cypress is good for testing user interactions with the Dashboard but tests requires a browser (headless) and are typically slow.
To improve the test coverage without impacting the test performances some unit testing would be required

@Pavinati Pavinati added the discussion This issue needs to be investigated/discussed (it might be already fixed, invalid or duplicated) label Mar 10, 2021
@Pavinati
Copy link
Collaborator Author

Pavinati commented Mar 10, 2021

Jest

Pros:

Cons:

  • not meant for pure node or backend testing.
  • requires mocking components.

Mocha

Pros:

  • Very popular framework
  • Works very well with both browser and node.js apps.

Cons:

React testing library

Pros:

  • Specifically tailored for react.

Cons:

  • Less suited for non react testing.
  • usually paired with other testing frameworks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion This issue needs to be investigated/discussed (it might be already fixed, invalid or duplicated)
Projects
None yet
Development

No branches or pull requests

1 participant