-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
🌱 Tests cleanup #1933
🌱 Tests cleanup #1933
Conversation
Skipping CI for Draft Pull Request. |
f500ade
to
4807df2
Compare
e284d27
to
794c33c
Compare
Yep, but if we add config/v3 we may need to modify the generate testdata file so I will rebase after that. |
0d33217
to
36b53f5
Compare
Rebased. There is a single really small conflict with config/v3, so the order in which they are merged doesn't really matter. |
acc53ad
to
7d55bb3
Compare
73b9968
to
3516ec2
Compare
899739b
to
28579fe
Compare
Signed-off-by: Adrian Orive <[email protected]>
28579fe
to
8c08161
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It shows fine for me
/lgtm
Great job. 🥇
Description
The following list defines all the checks and tests that we currently have, with some consideration on prerequisites and under which conditions are being executed (go version, devide OS/arch, and kubernetes version).
Lint
make lint
to report the errors ormake lint-fix
to solve them.Unit tests
*_test.go
files run bygo test ...
that test the different parts of the library isolated.make test-unit
.Coverage *4
make test-coverage
obtains the coverage info.Integration tests *5
test/integration.sh
.test-integration
.Testdata check
testdata
directory is up to date.test/testdata/check.sh
.make check-testdata
.Testdata tests
test/testdata/test.sh
.make test-testdata
.E2E tests
test/e2e/local.sh
ortest/e2e/ci.sh
.make test-e2e-local
ormake test-e2e-ci
.Notes: