Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate tests to github.com/go-quicktest/qt #1251

Closed
lmb opened this issue Dec 5, 2023 · 0 comments · Fixed by #1253
Closed

migrate tests to github.com/go-quicktest/qt #1251

lmb opened this issue Dec 5, 2023 · 0 comments · Fixed by #1253
Assignees
Labels
good first issue Good for newcomers

Comments

@lmb
Copy link
Collaborator

lmb commented Dec 5, 2023

We currently use https://github.com/frankban/quicktest in our test suite. The API is full of any parameters and therefore needs some annoying work arounds when comparing non-int values:

qt.Assert(t, foo, qt.Equals, uint32(2))

We also rename the import from quicktest to qt.

There is a new "version" of the package which uses generics instead: https://github.com/go-quicktest/qt Migrate our testsuite to use the new qt package.

@lmb lmb added the good first issue Good for newcomers label Dec 5, 2023
sayboras added a commit to sayboras/ebpf that referenced this issue Dec 5, 2023
sayboras added a commit to sayboras/ebpf that referenced this issue Dec 6, 2023
Fixes: cilium#1251
Signed-off-by: Tam Mach <tam.mach@cilium.io>
sayboras added a commit to sayboras/ebpf that referenced this issue Dec 6, 2023
Fixes: cilium#1251
Signed-off-by: Tam Mach <tam.mach@cilium.io>
sayboras added a commit to sayboras/ebpf that referenced this issue Dec 6, 2023
Fixes: cilium#1251
Signed-off-by: Tam Mach <tam.mach@cilium.io>
sayboras added a commit to sayboras/ebpf that referenced this issue Dec 6, 2023
Fixes: cilium#1251
Signed-off-by: Tam Mach <tam.mach@cilium.io>
@lmb lmb closed this as completed in #1253 Dec 6, 2023
lmb pushed a commit that referenced this issue Dec 6, 2023
Fixes: #1251
Signed-off-by: Tam Mach <tam.mach@cilium.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants