-
Notifications
You must be signed in to change notification settings - Fork 534
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
feat: use gomega match assertion #1664
Comments
+1 |
@Jaycean |
@Jaycean |
Not sure 🤔 I'm not familiar with Go currently. |
It seems the output is more friendly, we mat try it. |
+1 |
+1 |
+1 Gomega |
ok fine, anyone would like to take this issue? |
I will finish it when I have time. |
@Jaycean feel free to ask me if I could be of any help :) |
Feature request
Please describe your feature
Describe the solution you'd like
At present, the assertions used in E2E test are directly matched by go assert, so if there is an error, it is not friendly to the error message prompt, so I want to use gomega to match the assertions.
Gomega is a matcher/assertion library. It is best paired with the Ginkgo BDD test framework, but can be adapted for use in other contexts too.
Gomega Doc
For example
When we use this function to read a file
ioutil.ReadFile
Error tips for using go assert
Do you have any better suggestions?
The text was updated successfully, but these errors were encountered: