Is there a way to test a specific function or module? #3626
Unanswered
prestontw
asked this question in
Questions & support
Replies: 1 comment 2 replies
-
The "gleam test" command runs the main function in your APPNAME_test module, you can do anything you want in there. Gleam doesn't have an opinions about what your test code does. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I know I can run a specific binary with
gleam run -m <binary>
, but does something similar exist for testing? I have been changing the names of all of the other tests I don't want to run so they aren't picked up bygleam test
. I am ongleam 1.4.1
.Beta Was this translation helpful? Give feedback.
All reactions