hyper-react icon indicating copy to clipboard operation
hyper-react copied to clipboard

A good way to do integration testing

Open sollycatprint opened this issue 9 years ago • 4 comments

From @akshatpradhan on May 3, 2015 18:33

what is the best way to do integration testing in React.rb?

screenshot 2015-05-03 14 29 58

Copied from original issue: zetachang/react.rb#25

sollycatprint avatar Jun 10 '16 19:06 sollycatprint

From @catmando on May 6, 2015 19:32

is that a working example or what? I have the same question... did you find a better answer?

sollycatprint avatar Jun 10 '16 19:06 sollycatprint

@zetachang - I have a pile of integration / unit test helpers, that we should bundle up into a gem. Lets at least open a repo, give it a name, and then close this problem okay?

catmando avatar Sep 07 '16 01:09 catmando

Again, just put some of my experience on other reactjs project for information, turns out enzyme (test utility created by AirBnB) is far more better than the suit included in ReactJS. Maybe we could either integrate or learn from it.

zetachang avatar Sep 08 '16 09:09 zetachang

@zetachang - we use none of the js stuff at catprint. All of our testing is based on rspec / capybara.

catmando avatar Sep 09 '16 01:09 catmando