CI: test framework, part II#3890
Merged
AkihiroSuda merged 1 commit intocontainerd:mainfrom Feb 27, 2025
Merged
Conversation
7363284 to
2f941a6
Compare
2f941a6 to
472a2b0
Compare
Contributor
Author
472a2b0 to
e4b5b26
Compare
e4b5b26 to
8474bbd
Compare
Signed-off-by: apostasie <spam_blackhole@farcloser.world>
8474bbd to
4b765cd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is on top of #3889 (on top of #3591) - should be merged in order.This specific PR does cleanup and reorganize the
testutil/testpackage.Although this PR looks "large", it is not functionally changing anything (and is only touching tests and testing tools anyhow).
The key take-aways here are:
mod/tigron)expect(expect.Contains, expect.Match, expect.ExitCode)require(require.Arm64, etc)test(test.Case, etc)test.Requirebecomesrequire.All)A
tigronis a tigon in french :) (the offspring of a tiger and a lion)The next PR after that will focus on linting code with more stringent standards.