withmock
withmock copied to clipboard
Withmock does not currently support windows
Hi, I recently installed withmock.After installation I got lots of errors in the "qur/withmock/scenarios" directory. The type of errors were like "C source files not allowed when not using cgo or SWIG: lib.c", so I removed such directories. And then I tried running withmock but faced an error like below ERROR: symlink D:src\github.com\golang\mock\gomock\call.go C:\Users\xyz\AppData\Local\Temp\withmock915089311\path\src\github.com\golang\mock\gomock\call.go: A required privilege is not held by the client. Please help me to get to know what could be the reason for this failure.Is it like I need to use withmock with older version of golang.
At the moment withmock is using symbolic links to reduce the amount of data copied. Unfortunately this appears to not be working on Windows, and I don't have a Windows development environment.
There may also be other aspects of the behaviour that implicitly favour unix based systems ...
Thank you for the information. I am just wondering if you have any plans to support it for windows?