stryker-js icon indicating copy to clipboard operation
stryker-js copied to clipboard

Feature request for Cypress test runner plugin

Open muratkeremozcan opened this issue 3 years ago • 5 comments

Is your feature request related to a problem? Please describe. It would be beautiful to have a plugin for Cypress runner, as it supports component testing in 4 frameworks.

Describe the solution you'd like Just as we can use Jest + RTL for component testing, we can use Cypress for component testing. It would be desirable to do mutation analysis with it as well.

Additional context Add any other context or screenshots about the feature request here. Side by side 40+ RTL and Cy CT tests: https://github.com/muratkeremozcan/tour-of-heroes-react-cypress-ts yarn test vs yarn cy:run-ct-fast

muratkeremozcan avatar Nov 11 '22 19:11 muratkeremozcan

👍

jsifalda avatar Jun 01 '23 19:06 jsifalda

👍🏻

steoj avatar Jun 06 '23 07:06 steoj

Anyone working on something that will make the cypress tests run a little more efficiently? We have ballpark 450 Cypress component tests running and each run of all of these takes approximately 15 minutes. Stryker seems to be running all tests for all mutations for all files when set up with command runner: yarn cypress run --component --headless -C cypress.component.config.ts and this causes the stryker run to timeout (> 6h) in a github workflow - even using incremental mode. Also, it seems all mutations that was not killed, are timing out - even if they should have survived: Screenshot 2023-10-23 at 06 53 20 In the above case, the mutation is always returning false. This should have been a surviving mutation - not a timed out one. Will a dedicated runner target tests to mutated files?

steoj avatar Oct 23 '23 04:10 steoj

👍

kght6123-work avatar Nov 17 '23 01:11 kght6123-work

👍

rennergimenes avatar Jul 08 '24 00:07 rennergimenes