-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add test for empty initializer. Document other tests. #3844
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
Conversation
dgrove-oss
left a comment
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.
other than the question about checkResultInLogs, LGTM
| * Runs tests for actions which receive an empty initializer (no source or exec). | ||
| * @param checkResultInLogs should be true iff the result of the action is expected to appear in stdout or stderr | ||
| */ | ||
| def testNoSourceOrExec(checkResultInLogs: Boolean = true) = { |
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.
Seems like checkResultInLogs is not used....should it be removed?
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.
updated to remove the relevant code.
dgrove-oss
left a comment
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.
LGTM
Codecov Report
@@ Coverage Diff @@
## master #3844 +/- ##
=======================================
Coverage 74.61% 74.61%
=======================================
Files 138 138
Lines 6461 6461
Branches 397 397
=======================================
Hits 4821 4821
Misses 1640 1640Continue to review full report at Codecov.
|
* Add test for empty initializer. Document other tests. * Allow for a dot or dash in the action name.
Shifts tests which are part of the system package (but slated for removal as part of #3737, #3840) to container unit tests which also checks that the runtimes provide a consistent handling of different capabilities and error scenarios.
Related issue and scope
My changes affect the following components
Types of changes
Checklist: