You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a lot of cover_skip in the codebase because commands cannot be easily tested:
// Skipped from code coverage
// because an external command
// cannot be easily unit tested
#[cfg_attr(tarpaulin, skip)]
We might want to try working on our own command abstraction, that would return a Result<OutputStream, ErrorStream> so we can provide stubs for the tests.
It would allow for more coverage, and we could thus identify and reproduce cornercases easily.
The text was updated successfully, but these errors were encountered:
There's a lot of cover_skip in the codebase because commands cannot be easily tested:
We might want to try working on our own command abstraction, that would return a Result<OutputStream, ErrorStream> so we can provide stubs for the tests.
It would allow for more coverage, and we could thus identify and reproduce cornercases easily.
The text was updated successfully, but these errors were encountered: