mirror of https://github.com/knative/pkg.git
* Upgrade suite types and tests * Naively fixing upgrade suite tests * Properly implement InstallingBase, and PreUpgradeTests * Continual tests implemented * UpgradeWith and PostUpgradeTests implemented * DowngradeWith and PostDowngradeTests implemented * zaptest.Buffer race removed * Remove barely used testify/assert * Ensure that VerifyContinualTests is always called if continual tests started * Prepare tests for failure assertions * Refactor to enable failure testing * Prepare for failure testing * Testing suite can fail now * Prepare a failing test suite * Mock testing.T implemented * Failure testing works for single point * Split testing code to more manageable pieces * Tests for upgrade suite are working well * Remove confusion about StopSignal type A StopSignal has been splitted to 2 separate type private stoppable and a StopEvent. StopEvent contains only elements that are essential for implementors to use *testing.T and signalize end of stop & verify procedure to upgrade suite. * Introducing NewBackgroundVerification and WaitForStopEvent Functions NewBackgroundVerification and WaitForStopEvent has been introduced to ease implementers to write a simple setup & verify background tests. * Rework of "Starting continual tests" * Removal of return value from background handler * Move stop channel to be closer to background operation * Remove unneeded Named interface * Documenting public types * Fixes to satisfy golangci-lint * Final linting fixes |
||
|---|---|---|
| .. | ||
| asserts_test.go | ||
| execute_failures_test.go | ||
| functions.go | ||
| functions_test.go | ||
| private_types.go | ||
| steps.go | ||
| suite_examples_test.go | ||
| suite_execution.go | ||
| testing_operations_test.go | ||
| testing_types_test.go | ||
| types.go | ||
| vars.go | ||
| zaptest_buffer_test.go | ||