-
Notifications
You must be signed in to change notification settings - Fork 144
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 to configure test to run on non Deno.test()? #606
Comments
I think it would be better if that could work with other function names too rather than just those with the "test_" prefix, for example if you are using a wrapper around Deno.test for writing tests in describe/it blocks. |
What does that mean :-) I just learned
How does that work? I cannot find this code :-/ |
This is an example I wrote. There are others out there. Other common JavaScript test runners use describe functions for grouping tests together and giving them shared setup/teardown with before after hooks. Then it functions for the actual individual test cases. |
@KyleJune thanks for the pointer to describe/it example. I know see your 'wrapped' issue. Have you checked with Do you know a pointer to my other question in #606 (comment) ? |
Duplicate of #572. |
I'm gonna close it in favor of #572 |
Is your feature request related to a problem? Please describe.
I'd like to run tests like done in ie https://github.com/denoland/deno_std/blob/main/fs/walk_test.ts where
test_walk()
takes care ofsetup
andteardown
.I'm not sure whether this is either a simple tasks.json thing or
problemMatcher: $deno-test
like we have for in editor Run Test | DebugDescribe the solution you'd like
As
test_walk()
is a user defined function name as match could betest_*
or the responsibility of the user to enter valid values/patterns.The text was updated successfully, but these errors were encountered: