Calling Developers!
We are reenergizing our code contribution process! Learn More

How you deal with test coverage in your project. E2E, functional, unit, so on.

Serhii Doroshenkov
Serhii Doroshenkov Sprykee Posts: 4 🧑🏻‍🚀 - Cadet
edited March 29 in Spryker Development

Hello dear community!

Let's have some test automation related discussion to share your best practices.
As everyone knows that every feature should be tested. In Spryker we follow concepts of TDD

To balance between full test coverage and development speed I usually prefer to fit implementation process with agile testing pyramid:

Let's discuss what approach is used in your project. Example questions for start from my perspective:

How you deal with outdated test checks for features in your project?
- Developer is responsible to fix that within new MR implementation. QA automation is responsible to align about test changes with other teams.

Do you work with E2E tests, how do you maintain them?
- Yes, but we have dedicated team for that.

Do you have manual QA in your project?
- Yes, useful when we need to have regression/UI tests.

What happens if acceptance test is failed after new implementation?
- QA developer is responsible to fix that.

How do you know how well feature is covered for now?
- One of implementation ways that I like: To have test automation checks in tasks tracking systems like JIRA and rules to connect test code within those tasks. We can use tack tracking system plugins (like JIRA plugins) to track test automation feature coverage between releases.

What happens if all tests are blocking continuous delivery like pipeline fails in development branch (by gitflow it's branch with latest "nightly" changes)?
- I think in ideal world we should have an automated process that allows us to have a dashboard with all tests healthcheck and ability to assign responsible person to fix that issue. So it's allows us to know without any extra interaction: what is happened in test, issue is related to my changes (happens only in my branch), contact person and even, progress/status for that.