Open muratkeremozcan opened 2 years ago
👍
👍🏻
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:
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?
👍
👍
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
vsyarn cy:run-ct-fast