-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
types: Switch table driven test error messages to new format #1691
Conversation
Make table driven tests in /types follow the format described in #1664
Codecov Report
@@ Coverage Diff @@
## master #1691 +/- ##
==========================================
- Coverage 62.37% 62.05% -0.32%
==========================================
Files 120 116 -4
Lines 7117 6931 -186
==========================================
- Hits 4439 4301 -138
+ Misses 2427 2387 -40
+ Partials 251 243 -8 |
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #1691 +/- ##
==========================================
- Coverage 62.37% 62.05% -0.32%
==========================================
Files 120 116 -4
Lines 7117 6931 -186
==========================================
- Hits 4439 4301 -138
+ Misses 2427 2387 -40
+ Partials 251 243 -8 |
Codecov Report
@@ Coverage Diff @@
## master #1691 +/- ##
==========================================
- Coverage 62.37% 62.05% -0.32%
==========================================
Files 120 116 -4
Lines 7117 6931 -186
==========================================
- Hits 4439 4301 -138
+ Misses 2427 2387 -40
+ Partials 251 243 -8 |
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.
couple small issues which I just addressed:
- error messages should be lower case/not sentences
errored
it's quite a word :P
error messages are a bit verbose, typically I think it's fine to just have the developer look up where the error is to really understand what's failing, but the use test-case index is great.
Thanks
Sounds good to me! I agree, we don't need to always have a message, since you get the line number for whats failing. Should I remove some from here w/ that in mind? |
nah, it's fine for now |
Merge pull request #1691: Table driven test indexes
Make table driven tests in /types follow the format described in #1664
docs/
)CHANGELOG.md
- not an end user facing changecmd/gaia
andexamples/
For Admin Use: