![]() This scaffolding allows us to assert more on each test case, and more consistently. Set input fields from output fields IFF they are expected AND not set on input. This allows us to verify the "after" state (expected) whether the test case specified the value or not, and still pass the generic cmp.Equal. Use this in a few tests to prove its worth, more to do. Some of the existing tests that are focused on create and delete can probably be replaced by these. This could be used in other test cases that are open-coding a lot of the same stuff. Later commits. |
||
---|---|---|
.. | ||
testing | ||
OWNERS | ||
util_test.go | ||
util.go |