xgo
xgo copied to clipboard
All-in-one go testing library
If we fixed the bug in https://github.com/xhd2015/xgo/issues/142, and verified that `xgo test --trap-stdlib ./...` ok in kubernetes, we will proceed on this as completing https://github.com/xhd2015/xgo/issues/103#issuecomment-2119618519. But also allow `xgo test...
Currently these tools lack thorough docs to help users use them.
Go can dynamically generate sub tests on the fly. The UI should also be adjusted.
This would help us find bugs in the wild quickly.
Currently coverage data is fetched from files, we can extend that to http urls when the argument starts with `http://` or `https://`. The url should return a plain text as...
Currently only linux and macos supports incremental coverage, we should extend that to windows also.
Since we have supported auto import the whole module `github.com/xhd2015/xgo/runtime` when `--strace` is used, there is an opportunity that we can generalize this ability to import arbitrary modules.
Error message: ``` 2024-05-14 21:29:21 tool exec flags: -toolexec=c:\Projects\xgo\cmd\xgo\__debug_bin4158704754.exe exec_tool --enable -- 2024-05-14 21:29:27 go [list -m -json -mod=vendor -e github.com/xhd2015/xgo/runtime] 2024-05-14 21:29:46 list err: module github.com/xhd2015/xgo/runtime: can't resolve module...