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

deno test --filter doesn't seem working for subtest names #26997

Open
kt3k opened this issue Nov 22, 2024 · 0 comments
Open

deno test --filter doesn't seem working for subtest names #26997

kt3k opened this issue Nov 22, 2024 · 0 comments

Comments

@kt3k
Copy link
Member

kt3k commented Nov 22, 2024

Assume we have a.js, like:

Deno.test("1", async (t) => {
  await t.step("2", () => {
  });
  await t.step("3", () => {
  });
});

If we filter with 2, then it can't find any test case:

$ deno test --filter=2 a.js

ok | 0 passed | 0 failed | 1 filtered out (1ms)

Is this by design, or should this execute subtest of matching name?

related: denoland/std#6063

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant