redux-devtools icon indicating copy to clipboard operation
redux-devtools copied to clipboard

Tests

Open gaearon opened this issue 11 years ago • 7 comments

Tests are needed badly. The setup is in place. Mostly we want to test that ./src/devTools behaves as expected.

I'm lazy so I'd rather see an implementation of https://github.com/gaearon/redux-devtools/issues/8 first, and use that to generate some tests for devTools by inspecting devTools with devTools.

gaearon avatar Jul 14 '15 23:07 gaearon

Example of unit test: https://github.com/gaearon/redux-devtools/issues/113#issuecomment-140805518 I really need help writing these because I don't have time. Please contribute.

gaearon avatar Sep 16 '15 17:09 gaearon

I'm currently working on this.

ellbee avatar Sep 18 '15 22:09 ellbee

Wow. I'm really thankful. :-)

gaearon avatar Sep 18 '15 23:09 gaearon

With the plans to extract the log monitor, is it worth me carrying on and writing tests for the current implementation? If the extraction is going to involve a re-write I guess writing tests for it now is not worth the effort.

ellbee avatar Sep 24 '15 18:09 ellbee

@ellbee

Thank you for your efforts so far. If you'd like to write tests for it, please do it here: https://github.com/gaearon/redux-devtools-log-monitor

(Assuming React 0.14 as minimal version)

gaearon avatar Sep 24 '15 18:09 gaearon

Hey, no worries. I'll carry on over there then! Cheers.

ellbee avatar Sep 24 '15 18:09 ellbee

The tests are in master now thanks to @ellbee's work.

gaearon avatar Sep 27 '15 17:09 gaearon