Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NO informations about *_filetest.gno in the docs #2818

Closed
MalekLahbib opened this issue Sep 19, 2024 · 1 comment
Closed

NO informations about *_filetest.gno in the docs #2818

MalekLahbib opened this issue Sep 19, 2024 · 1 comment

Comments

@MalekLahbib
Copy link
Contributor

Description

I always noticed some z_*_filetest.gno format in some examples or folders but never understood what it is and how it works. But after a discussion yesterday with @moul, who made me a quick demo on how it works and explained to me that it's a gno ecosystem specific thing and that there's no documentation about how it works and how to use it ( "gno test -v -update-golden-tests=true ." command for example), I wanted to ask: have you planned to write a documentation about it with examples?
@leohhhn @michelleellen

@thehowl
Copy link
Member

thehowl commented Sep 19, 2024

Please no.

#1346

Use normal tests; and implement features in the normal testing framework if they don't do what you need (compared to filetests). filetests should really only be used as an internal mechanism for those developing on the GnoVM, as it doesn't depend on the "testing" package to exist, and thus can be used to test for "low-level" things.

@thehowl thehowl closed this as not planned Won't fix, can't repro, duplicate, stale Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants