Skip to content

Commit

Permalink
Applier unit test cleanup
Browse files Browse the repository at this point in the history
- Add test for applier.Run context cancel/timeout
- Add AssertEqual & AssertNotEqual to wrap testutil.Equal matcher
- Move common test utils to common_test.go
- Use yaml artifacts, instead of Unstructured
- Use apply.Options as test input
- Use UnstructuredSet as test input
- Extract Applier construction with fake inputs to newTestApplier
- Extract nil inventory to its own test to simplify test inputs
  to TestReadAndPrepareObjects
  • Loading branch information
karlkfi committed Oct 12, 2021
1 parent a1b40b5 commit 714a3b2
Show file tree
Hide file tree
Showing 4 changed files with 1,114 additions and 591 deletions.
Loading

0 comments on commit 714a3b2

Please sign in to comment.