What is the best practice to use cypress for testing? #16668
Replies: 1 comment
-
Hi, TLDR;
Sooner is better (shift left). But Now dev can also 'just' keep cypress around as they code, and run all tests from time to time on their local env (and before asking for PR review). This still implies that: your devs all have a local env. That they know how to launch Cypress locally (and have access to Cypress code). And that once again, test execution remains small. If you wonder what is 'classical' on a company: in my experience I get hired because test runs only on develop at night (nor not even) and companies (and devs) wants it more often & earlier ie on their branch at push or PR opening/merging. It's our job to find ways to make that possible, with tremendous help from TechOps people ❤️. |
Beta Was this translation helpful? Give feedback.
-
Question 1: Should we run tests on all branches? Or just on master branch?
Question 2: When should the cypress tests run? On each commit or there is other approach?
Beta Was this translation helpful? Give feedback.
All reactions