#683·goconvey

Does `goconvey` support executing `goconvey` without inline?

Author: HuLing1025Created Nov 29, 2023Updated Feb 10, 2025

Iike below, this is code intrusion when I stub functions in my project. Is there any way to exec web UI command goconvey gracefully?

go
//go:noinline
func GetResult(d Demo) string {
	if d.GetMsg() == "store" {
		return "success"
	}
	return "failure"
}

The official way:

bash
 go test -gcflags=all=-l