applicationset icon indicating copy to clipboard operation
applicationset copied to clipboard

Implement additional Git Directory generator E2E tests

Open jgwest opened this issue 3 years ago • 2 comments

The E2E test framework allows us to test ApplicationSet features against a live Kubernetes cluster and a live Argo CD instance. This issue tracks adding additional tests that specifically target the git directory generator.

PR #66 already includes a basic test of this generator, but this basic test was not an attempt at an exhaustive test of the functionality.

jgwest avatar Dec 17 '20 00:12 jgwest

Do we have a list of use cases we want to test?

OmerKahani avatar Feb 27 '21 18:02 OmerKahani

@OmerKahani Good question, I don't have a specific set of tests in mind here, this item was more about reserving time to think through any additional aspects of the Git Directory functionality that we should be testing and then implementing that.

Here's what came to mind:

  • testing with a slightly more complex directory structure (more nested) than our current test
  • more complex changes to the ApplicationSet (for example, adding/removing a new path, changing the template fields)

jgwest avatar Mar 02 '21 21:03 jgwest