-
Notifications
You must be signed in to change notification settings - Fork 925
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
How do Unit Testing work with TinyGo #1359
Comments
Depending on your package, you could simply use
I have no idea what's going on here. Shouldn't C:\Go contain the regular Go installation instead of TinyGo? TinyGo requires there to be a regular Go installation separate from the TinyGo installation. |
Yes, Edit: I think I cant use |
It appears that you have files from TinyGo in C:\Go (the panic.go error message can only come from a TinyGo runtime file). Perhaps you can try removing and reinstalling Go to fix this?
Indeed, that would be difficult. |
hm I don't think so:
My go app also run fine. Just tested it out. |
Closing since it appears question has been answered. Thanks everyone! |
Hi,
I did not found information on how unit tests work with TinyGo. I tried it with
tinygo test pathto_test.go
but it fails. Where can I find the information on how it works?--help does not help ^^
The text was updated successfully, but these errors were encountered: