-
insta-cmd allows writing snapshot tests for CLI output which is great, but when building with Crane it fails to execute the tests because it tries to lookup the path to the crate's bin output in order to execute it and capture the output. I tried a bunch of things involving passing buildPhase commands only to realize later that the checkPhase runs in a clean directory anyway so I was on the wrong track. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Could you please share (an ideally minimal) reproduction of the issue? I suspect that the issue might be in the |
Beta Was this translation helpful? Give feedback.
It looks like you have to build your actual binary before running the tests which require it: