I am building a CD pipeline. I am planning about the automated testing piece of it. I plan to do UI, WebService, Security, Perf testing. I have a question about the code structure. So what I plan is to have the tests in the same repo as the code and then have separate repos for the core test frameworks e.g.
Repo Product
- Product Code (Project)
- Integration Tests (Project)
- Functional/e2e Tests (Project)
- UI Tests (Package)
- WebSvc Tests (Package)
- Perf Tests (Package)
- Sec.Tests (Package)
Repo Test Core
- UI Test Framework Code (Project)
- WebSvc Test Framework Code (Project)
- Perf Test Framework Code (Project)
- Sec Test Framework Code (Project)
Does anyone see any problem with this structure? Any other ideas? Also I am little fuzzy about the what goes in the integration tests vs in the functional tests projects (e.g. WebSvc tests can be a part of both). And where does acceptance tests go (Functional or integration) ? It will be great if someone can point to some example repos or articles on this.
Thanks