I understand ClojureScript offers testing functionality out-of-the-box, however, I’m curious to learn:
- How is the community testing Reagent/Reframe (i.e. React) apps, including logic and UI?
- How - if at all - can libraries like the testing library be used in ClojureScript?
I have used enzyme until now, but react-testing-library looks like an improvement: see this blog post https://medium.com/@francisvitullo/a-way-of-testing-views-in-clojurescript-apps-98aaf57c5c2a
ofc you can do everything from unit tests to selenium etc as well if required.
We use react-testing-library directly in our project and it has been wonderful so far.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.