I am new to Cypress and trying to find the best practices for where to store our tests. I see there seems to be plenty of resources for how to organize folders to setup fixtures, tests, plugins, etc. but I can't seem to find any recommendations if people actually store the tests with the front-end code that's being tested or in it's own separate repo?
Are there any advantages of one or the other when trying to setup CICD?
It is highly recommended to store tests within the same code base or repository as your application or front-end code for the following reasons:
Tests living within the application repository is the most common pattern, but your ability have this implementation may vary based on your project, team/organization structure, or tech debt limitations.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With