-
Hi, I was wondering if anybody has any patterns for testing code calling CliWrap? I haven't come up with anything too elegant myself and was wondering if I am missing something. The static class and the fluent design of the library make is hard to substitute in testing. |
Beta Was this translation helpful? Give feedback.
Answered by
Tyrrrz
Nov 24, 2022
Replies: 1 comment 1 reply
-
You are not supposed to substitute it. Either test your behaviors with it, or abstract it away at a higher level. https://github.com/Tyrrrz/CliWrap/wiki/Migration-guide-(from-v2.5-to-v3.0)#removal-of-icli |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
sfwester
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You are not supposed to substitute it. Either test your behaviors with it, or abstract it away at a higher level.
https://github.com/Tyrrrz/CliWrap/wiki/Migration-guide-(from-v2.5-to-v3.0)#removal-of-icli