Open xhd2015 opened 3 months ago
As described in https://github.com/traas-stack/chaosmeta/issues/161 , the xgo has been proven fine to replace gomonkey to provide better maintainability.
xgo
To run tests with xgo, first install xgo:
# macOS and Linux (and WSL) curl -fsSL https://github.com/xhd2015/xgo/raw/master/install.sh | bash # windows powershell -c "irm github.com/xhd2015/xgo/raw/master/install.ps1|iex"
Then run:
cd chaosmeta-inject-operator xgo test -v ./...
As described in https://github.com/traas-stack/chaosmeta/issues/161 , the
xgo
has been proven fine to replace gomonkey to provide better maintainability.To run tests with xgo, first install xgo:
Then run: