You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Argocd-agent currently has a set of detailed unit tests across the code base, which work well for white-box testing of individual functions within the packages of the project. We also have a what looks like a simple E2E test of principal code (but from quickly skimming the code it IMHO looks like a slightly more complex unit test?).
What is missing is fully E2E tests (and a framework to support them) that: setup vclusters, run Argo CD, run principal agent, run one or more of managed/autonomous agents, then test the resulting setup.
Criteria:
Initial brainstorm of how the test would be setup and what the test would do:
I'd imagine these simple E2E test would be something like:
Create an Argo CD Application in principal, then verify it is synced/deployed on managed-mode/autonomous agent vcluster
Verify the resources exist on those target clusters
Cleans up when done
E2E tests to be written with testify, similar to the other unit tests already in the codebase.
For E2E tests I'm always a fan of using a fixture(fixture implementation), which is a set of packages that contain utility functions that can be reused for writing new E2E tests.
Argocd-agent currently has a set of detailed unit tests across the code base, which work well for white-box testing of individual functions within the packages of the project. We also have a what looks like a simple E2E test of principal code (but from quickly skimming the code it IMHO looks like a slightly more complex unit test?).
What is missing is fully E2E tests (and a framework to support them) that: setup vclusters, run Argo CD, run principal agent, run one or more of managed/autonomous agents, then test the resulting setup.
Criteria:
Initial brainstorm of how the test would be setup and what the test would do:
hack/demo-env
:.github
folder of argocd-operator, argo-cd, etc)The text was updated successfully, but these errors were encountered: