How to Test ClojureScript Applications?

I understand ClojureScript offers testing functionality out-of-the-box, however, I’m curious to learn:

  1. How is the community testing Reagent/Reframe (i.e. React) apps, including logic and UI?
  2. How - if at all - can libraries like the testing library be used in ClojureScript?


1 Like

I have used enzyme until now, but react-testing-library looks like an improvement: see this blog post

ofc you can do everything from unit tests to selenium etc as well if required.

1 Like

We use react-testing-library directly in our project and it has been wonderful so far.