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

Create a test set for the website frontend/backend #11

Open
ctmbl opened this issue Sep 27, 2022 · 4 comments
Open

Create a test set for the website frontend/backend #11

ctmbl opened this issue Sep 27, 2022 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed Priority: High The Issue must be addressed as soon as possible

Comments

@ctmbl
Copy link
Contributor

ctmbl commented Sep 27, 2022

Problem:
#1 and #2 introduce the first website.
And finding the first bugs should make us think about creating testing procedures and/or automatic tests.

Idea:
The goal is to at least make a list of test procedures to be able to check that main features still work fine after each PR.
We could also implement regression tests.
The ultimate goal would of course to have a test pipeline using GitHub actions but let's start with the basis.

Challenges:

  • I don't know any test framework for Node/react etc
  • I don't have experience in these framework neither...
  • what should be tested? How to evaluate tests coverage?
  • Should we test the backend and frontend separated, together or both?
@ctmbl ctmbl added enhancement New feature or request help wanted Extra attention is needed labels Sep 27, 2022
@atxr
Copy link
Contributor

atxr commented Sep 28, 2022

This is actually a very good point
I know some ressources like cypress or jest thanks to this video
But I never tried because I don't really know what to test 🤔
But we can try to make a list of features that must be tested together!

@ctmbl
Copy link
Contributor Author

ctmbl commented Sep 28, 2022

Okay so let's start with a list of features to test? It may be better to do it in the Discussion panel right?

@atxr
Copy link
Contributor

atxr commented Sep 29, 2022

Okay so let's start with a list of features to test? It may be better to do it in the Discussion panel right?

Sure, ping me there, I don't know how to find it

@ctmbl ctmbl self-assigned this Sep 30, 2022
@ctmbl ctmbl removed their assignment Nov 18, 2022
@ctmbl ctmbl added the Priority: Medium The Issue must be addressed as soon as possible label Nov 25, 2022
@ctmbl
Copy link
Contributor Author

ctmbl commented Dec 9, 2022

Would be a good start to test the frontend: https://reactjs.org/docs/testing.html

@ctmbl ctmbl added Priority: High The Issue must be addressed as soon as possible and removed Priority: Medium The Issue must be addressed as soon as possible labels Dec 12, 2022
@ctmbl ctmbl added this to the iScsc blog v0.2.0 milestone Dec 14, 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 help wanted Extra attention is needed Priority: High The Issue must be addressed as soon as possible
Projects
Status: Backlog
Development

No branches or pull requests

2 participants