-
Notifications
You must be signed in to change notification settings - Fork 25
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
Use react-testing-library #18
Comments
I think (and I would be pleased to be wrong) that performance will not increase. My suspicion with the performance problems is that we don't have a Still, adoption of |
Sure! I debugged the slowdown-over-time before and found that there is a memory leak somewhere in our setup, but I couldn't get to the bottom of it. That's why I have some hopes, that we could avoid the memory leak in case we get rid of |
The node-sdk also has it specified. Same for the mc-fe. At a certain amount of specs Jest seems to go overboard with parallelism. Maybe it either: does not gather enough metrics of the underlying system or does not adjust itself when it detects it itself is slow or a CI systems lies offer insane resources and then throttles. |
Out of scope Q: which label should we use to mark such issues? |
Something like "Technical Exploration" or "Technical Experiment"? |
Sounds good. Feel free to add it (or should I since I asked?) |
I'd like a UIKit core contributor to confirm and then add whatever he/she thinks works best. |
Done ✅ |
We now have |
I would like to try out
react-testing-library
instead of usingenzyme
. In my experience it leads to more test coverage and more confidence while writing less code. The tests are also decoupled from the implementation that way.If this is successful, I'd like to move all tests to
react-testing-library
and get rid ofenzyme
completely.Additionally, our current tests are extremely slow in CI, some taking almost a minute.
Source: https://travis-ci.org/commercetools/ui-kit/builds/424350666.
This might improve with
react-testing-library
as well.The text was updated successfully, but these errors were encountered: