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

Passage a Testing Library #771

Open
youf-olivier opened this issue Oct 26, 2020 · 5 comments
Open

Passage a Testing Library #771

youf-olivier opened this issue Oct 26, 2020 · 5 comments
Assignees
Milestone

Comments

@youf-olivier
Copy link
Contributor

J'aimerai commencer à switcher sur Testing Library histoire d'avoir des tests plus robustes et plus parlant.

Par contre c'est un gros chantier. Qu'en pensez vous ?

@youf-olivier youf-olivier self-assigned this Oct 26, 2020
@xballoy
Copy link
Contributor

xballoy commented Oct 26, 2020

Bonne idée ! Nos tests ne sont pas suffisament bien écrits pour que l'on ait confiance que rien ne soit cassé quand on fait une modif.
Avoir un test de comportement ce serait top !

@youf-olivier
Copy link
Contributor Author

Si vous etes pour, je vais prendre un Composant et le couvrir complètement histoire de voir ce que ça pourrait donner

@xballoy
Copy link
Contributor

xballoy commented Oct 26, 2020

Go for it :)

@arnaudforaison
Copy link
Contributor

Je suis pour, un composant servira aussi d'exemple. Cool

@xballoy
Copy link
Contributor

xballoy commented Nov 10, 2020

In case some people were wondering on how to do it, here some example of tests using react-testing-library #785 #800 #802

@arnaudforaison arnaudforaison added this to the v2.0.0 milestone Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants