reactgrid icon indicating copy to clipboard operation
reactgrid copied to clipboard

[question] Is there a way to test functionalities using react testing library or enzyme?

Open Castle33 opened this issue 3 years ago • 1 comments

I couldn't find in the docs any reference to testing. Is there a way to create tests to validate functionalities inside the reactgrid component? (for example, using react testing library or enzyme)

Castle33 avatar Apr 28 '22 13:04 Castle33

I have the same issue.

lesordev avatar Jul 28 '22 10:07 lesordev

Didn't have much luck testing anything beyond render output using testing-library. However looks like they do have a lot of helpful Cypress testing utils here.

Matt-Jensen avatar Jun 13 '23 09:06 Matt-Jensen

Just as @Matt-Jensen currently used test suite is Cypress, although we plan to update and/or rewrite tests so stay tuned :) (We'll most likely still use Cypress, but we might support other libraries as you suggested there). I'm going to close this issue, but feel free to contact us if you need anything more, take care!

DLowHP avatar Aug 04 '23 14:08 DLowHP