Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

[WIP]: Add dedicated test fixtures #2838

Closed
wants to merge 3 commits into from
Closed

[WIP]: Add dedicated test fixtures #2838

wants to merge 3 commits into from

Conversation

yiannistri
Copy link
Contributor

Most of the test fixtures in cluster/kubernetes/testfiles are used for tests against the cluster/kubernetes/resource and git modules. These can be split and moved alongside these modules. Any shared test code can live in a shared package or under the top level /test directory.

I've also created a test data builder for quickly setting up HelmRelease YAML fixtures. It's currently using the unstructured package from apimachinery to do the heavy lifting.

Fixes #1783

@yiannistri yiannistri changed the title WIP: Add dedicated test fixtures [WIP]: Add dedicated test fixtures Feb 10, 2020
@yiannistri yiannistri closed this Apr 23, 2020
@yiannistri yiannistri deleted the build/test-fixtures branch April 23, 2020 16:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dedicated fixtures in tests
1 participant