Add new utility module specifically for QA tests #10089
Labels
area/test
Marks an issue as improving or extending the test coverage of the project
kind/toil
Categorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc.
version:8.1.0-alpha5
Marks an issue as being completely or in parts released in 8.1.0-alpha5
version:8.1.0
Marks an issue as being completely or in parts released in 8.1.0
Description
The QA module (and sub-modules) are meant to test the overall project as whole. They pull in most of it as dependencies, but should never be pulled in themselves. This allows us to test the project holistically (can you even say that? 😄).
We currently have a
zeebe-test-util
module which is in used in various places in the project, including in the QA tests. In there, there are a few utilities which are specifically only used for QA. The downside here is that these QA-specific utilities are included in other sub-modules, and this could eventually introduce cyclical dependencies depending on the kind of utilities we wish to use.For QA specific utilities, this is limitation is more of a burden than anything. I would propose we create a new module for QA utilities, move any existing ones there (such as QoL extensions to Testcontainers, actuator related utilities, etc.), and we can later expand and add new ones there as well (e.g. helpers when using
zeebe-process-test
,zeebe-test-container
, etc.).EDIT: It's also not straight-forward to just move them to a QA module, as we have both
zeebe-qa-update-tests
andzeebe-qa-integration-tests
, and the utilities are used in both, and adding a dependency between them wouldn't make much sense (but is possible if we think it's worth avoiding adding a new module).The text was updated successfully, but these errors were encountered: