Replies: 1 comment 1 reply
-
I have some examples. I primarily use the examples test feature since it's integration style code when working with mage. Maybe this will help you. https://github.com/sheldonhull/magetools Take a peek at some of the tests. They are slow but work well to document and confirm basic testing functionality. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to learn how to test the Go code written into my Magefiles.
Do I add a test as
<magefile>_test.go
and usego test
as for any other Go application?Are there any Mage-specific limitations or requirements?
Beta Was this translation helpful? Give feedback.
All reactions