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
I'm experimenting with unit tests in my terraform step, but when I execute Runiac it reports that a test has been found but after the step runs and it tries to execute the test I'm getting the error "exec: 'gotestsum': executable file not found in $PATH".
@naustin well done! living on the edge leveraging largely undocumented features, we weren't sure if this feature would be valuable in oss so did not bring it in as a first class item but also did not remove it entirely.
How are your tests configured/written? The way runiac is configured for this feature is it will execute a tests.test executable in the tests directory and assumes golang was used as the test framework (herego using gotestsum for junit compatibility).
RE: the error specifically, if you add gotestsum to your runiac docker container - it should move forward from this error.
I'm experimenting with unit tests in my terraform step, but when I execute Runiac it reports that a test has been found but after the step runs and it tries to execute the test I'm getting the error "exec: 'gotestsum': executable file not found in $PATH".
Here's the log before the error:
The text was updated successfully, but these errors were encountered: