-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Standardize gomega/ginkgo imports #2433
Comments
There is at least one place where the I'd argue that we should prefer readability of shipped code paths over the readability of tests, so if we are not willing to make exceptions for tests that would test packages that may have conflicting naming to ginkgo/gomega, then I would suggest that we not use |
let me try this one |
for the existing tests that already have the |
probably. assuming you've started on this, so will mark as |
apart from control plane one, let's try to use the dot import everywhere else and find a different solution there |
🏃tests: standardize gomega/ginkgo imports
🏃 tests: standardize gomega imports - Follow up
🏃cmd-clusterctl-api/tests: standardize gomega imports - follow up
🏃cmd-clusterctl-client-config/tests: standardize gomega imports
🏃cmd-clusterctl-client-cluster/tests: standardize gomega imports
🏃 bootstrap/tests: standardize gomega imports - follow up
🏃cmd-clusterctl-client-repository/test: standardize gomega imports
🏃 controllers/test: standardize gomega imports
🏃 cmd-clusterctl-client/tests: standardize gomega imports
🏃 util/tests: standardize gomega imports
🏃test/tests: standardize gomega imports
🏃tests: standardize gomega imports for controllers/mdutil and controllers/noderefutil
/remove-help |
🏃 controlplane-kubeadm/test: standardize gomega imports
🏃 tests: standardize gomega imports
This issue is to standardize how to import ginkgo/gomega.
If we are using ginkgo/gomega in a test, it should be imported using the
.
import like this:The reason to do this is to provide a consistent feel across all ginkgo/gomega tests in the codebase.
/kind feature
/help
/milestone Next
The text was updated successfully, but these errors were encountered: