gnolang / gno

Gno: An interpreted, stack-based Go virtual machine to build succinct and composable apps + gno.land: a blockchain for timeless code and fair open-source.
https://gno.land/
Other
899 stars 377 forks source link

Add Go Test Suite to test GnoVM #1388

Open thehowl opened 1 year ago

thehowl commented 1 year ago

https://github.com/golang/go/tree/master/test

Probably to be done gradually, while trying how to correctly parse the format OR create adequate tools which can convert these tests into our own tests / filetests...

See-also #1215 #1115

petar-dambovaliev commented 2 months ago

A lot of the Go tests are not applicable to gnovm. Probably looking at them manually is required. And if that is the case, while they are manually reviewed they can be manually ported.

moul commented 1 month ago

What if we create a CI that doesn't require every test to pass? Instead, it could calculate the percentage of passing tests and only fail if that percentage decreases. Essentially, it would act like a "coverage report" but for Go compatibility.

The key benefit would be to provide not only the percentage but also a report that is useful for humans.