Open charypar opened 9 years ago
I'd personally prefer that Arch be flexibly opinionated here, similar to Rails (i.e. here's the recommended setup, which we'll create for you unless you explicitly tell us not to, but then you're on your own). Jasmine, Jest, and React's TestUtils are a popular combo - and I'm personally a fan.
Yes, that's what we have in mind. I think what we'll end up going with is Jasmine + React's TestUtils and Cheerio for markup assertions. This is one of those things where you have a 100 equivalent options, we just need to settle on the default and make the tooling make it easy for the user.
We should spend some time integrating a testing tool and letting app developers easily unit test components and state observers.
Shall we discuss options of test frameworks? Or, even better, can we do it in a framework agnostic way and let people decide in the generator?