Open moul opened 1 year ago
(temporarily) assign @gfanton, since he's working on a related project. Feel free to unassign.
Please be aware that we currently have two distinct gaps in our testing related to .gno files:
CLI should look like this: go test ./gnovm/cmd/gno -run TestExamples/gno.land/r/demo/blog
.
Related with https://github.com/gnolang/gno/issues/1215.
Related with #2616
To enhance our coverage, we might consider writing a unit test that imports
gnovm/cmd/gno
and invokes themain()
function using customos.Args
, rather than executing the generated binary. By adopting this approach, we can ensure comprehensive code coverage for all elements we test with.gno
files on the filesystem.Recent example: https://github.com/gnolang/gno/pull/1143/files#diff-0db317cbf7340addf668ab0f07d8daca6817b2e05b567f37a37e5c76ab6b3232R182
Related with https://github.com/gnolang/gno/issues/1139 Related with https://github.com/gnolang/gno/pull/1117 (similar approach)