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
replace ExpectEqual(someBoolean, ...) #105678
Comments
@pohly: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/good-first-issue |
@aojea: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/triage accepted |
I would like to take this up as my first issue |
/assign @chetak123 |
I would like to take up this issue as my first issue |
Hello @BurhanuddinMerchant I am already working on this issue , can you please take some other issue ? |
Okay sure ,how do I un assign myself from this issue? |
I don't think you are assigned to this issue. |
Oh okay |
Hey @NikhilSharmaWe as discussed in pr #105860 (comment) I am assuming that you are only working for tests under |
@NikhilSharmaWe also finished the work on |
@pohly and @chetak123 only one PR is to be made for the correction under test/e2e/storage/, so how can we distribute the task and also make only single PR. Or can we make multiple PR's |
I have added a TODO list to the issue description. I'll try to keep that up-to-date with what has been done and who is working on it. |
@NikhilSharmaWe: you can continue with |
@pohly what is to be changed in this case |
@chetak123 can you inform on which directory you are working. |
Currently working on apimachinery |
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful for kubernetes/kubernetes#105678. Kubernetes-commit: c8f9ebfb72b6569b4e2ec9733f6998afc6602135
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful for kubernetes/kubernetes#105678. Kubernetes-commit: c8f9ebfb72b6569b4e2ec9733f6998afc6602135
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful for kubernetes/kubernetes#105678. Kubernetes-commit: c8f9ebfb72b6569b4e2ec9733f6998afc6602135
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful for kubernetes/kubernetes#105678. Kubernetes-commit: c8f9ebfb72b6569b4e2ec9733f6998afc6602135
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful for kubernetes/kubernetes#105678. Kubernetes-commit: c8f9ebfb72b6569b4e2ec9733f6998afc6602135
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful for kubernetes/kubernetes#105678. Kubernetes-commit: c8f9ebfb72b6569b4e2ec9733f6998afc6602135
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful for kubernetes/kubernetes#105678. Kubernetes-commit: c8f9ebfb72b6569b4e2ec9733f6998afc6602135
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful for kubernetes/kubernetes#105678. Kubernetes-commit: c8f9ebfb72b6569b4e2ec9733f6998afc6602135
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful for kubernetes/kubernetes#105678. Kubernetes-commit: c8f9ebfb72b6569b4e2ec9733f6998afc6602135
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful for kubernetes/kubernetes#105678. Kubernetes-commit: c8f9ebfb72b6569b4e2ec9733f6998afc6602135
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful for kubernetes/kubernetes#105678. Kubernetes-commit: c8f9ebfb72b6569b4e2ec9733f6998afc6602135
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful for kubernetes/kubernetes#105678. Kubernetes-commit: c8f9ebfb72b6569b4e2ec9733f6998afc6602135
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful for kubernetes/kubernetes#105678. Kubernetes-commit: c8f9ebfb72b6569b4e2ec9733f6998afc6602135
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful for kubernetes/kubernetes#105678. Kubernetes-commit: c8f9ebfb72b6569b4e2ec9733f6998afc6602135
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful for kubernetes/kubernetes#105678. Kubernetes-commit: c8f9ebfb72b6569b4e2ec9733f6998afc6602135
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful for kubernetes/kubernetes#105678. Kubernetes-commit: c8f9ebfb72b6569b4e2ec9733f6998afc6602135
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful for kubernetes/kubernetes#105678. Kubernetes-commit: c8f9ebfb72b6569b4e2ec9733f6998afc6602135
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful for kubernetes/kubernetes#105678. Kubernetes-commit: c8f9ebfb72b6569b4e2ec9733f6998afc6602135
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful for kubernetes/kubernetes#105678. Kubernetes-commit: c8f9ebfb72b6569b4e2ec9733f6998afc6602135
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful for kubernetes/kubernetes#105678. Kubernetes-commit: c8f9ebfb72b6569b4e2ec9733f6998afc6602135
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful for kubernetes/kubernetes#105678. Kubernetes-commit: c8f9ebfb72b6569b4e2ec9733f6998afc6602135
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful for kubernetes/kubernetes#105678. Kubernetes-commit: c8f9ebfb72b6569b4e2ec9733f6998afc6602135
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful for kubernetes/kubernetes#105678. Kubernetes-commit: c8f9ebfb72b6569b4e2ec9733f6998afc6602135
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful for kubernetes/kubernetes#105678. Kubernetes-commit: c8f9ebfb72b6569b4e2ec9733f6998afc6602135
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful for kubernetes#105678.
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful for kubernetes#105678.
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful for kubernetes#105678.
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful for kubernetes#105678.
What would you like to be added?
The
test/e2e
tests are full of assertions which compare a boolean against true or false, often without any additional explanation. When those assertions fail, the error message is useless for understanding what went wrong, often just saying:Including an explanation is better, but then we still have the distracting noise about the comparison:
All of those assertions should be replace with
if (<failure check>) framework.Failf(<informative message>)
.Such locations can be found by grepping:
Some progress has been made in the meantime:
However, we were down to 175 at some point, so the number is going back up.
Example:
Some other places compare values. Those should be replaced with a comparison assertion. Example:
It makes sense to split this work into individual PRs, one per OWNERS file under test/e2e. Here's a list of directories:
When creating a PR, use
<directory>: enhance assertions
as title. Use one commit per PR, squash when addressing feedback. Unless noted otherwise, @chetak123 will work on PRs. Help may be welcome./sig testing
/help
Why is this needed?
Better output for developers when tests fail.
The text was updated successfully, but these errors were encountered: