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

Use trace to locate the position of tests and suites #162

Closed
antfu opened this issue Dec 15, 2021 · 5 comments
Closed

Use trace to locate the position of tests and suites #162

antfu opened this issue Dec 15, 2021 · 5 comments
Labels
p2-nice-to-have Not breaking anything but nice to have (priority) pr welcome

Comments

@antfu
Copy link
Member

antfu commented Dec 15, 2021

No description provided.

@Aslemammad
Copy link
Member

what is the goal of this issue?

@antfu
Copy link
Member Author

antfu commented Dec 15, 2021

@antfu antfu added the enhancement New feature or request label Dec 20, 2021
@yesmeck
Copy link

yesmeck commented Dec 20, 2021

Is it possible to run tests with a specified line number? For instance, the following command runs a test at line 20.

$ vitest --run test/basic.test.ts:20

@sheremet-va sheremet-va added p2-to-be-discussed Enhancement under consideration (priority) and removed enhancement New feature or request labels Feb 16, 2024
@sheremet-va sheremet-va moved this to P2 - 3 in Team Board Feb 16, 2024
@sheremet-va
Copy link
Member

sheremet-va commented Mar 28, 2024

Partially supported in 1.4.0 (we report the number): https://vitest.dev/config/#includeTaskLocation

It would be nice to also support a filter with :number

@sheremet-va sheremet-va reopened this Mar 28, 2024
@sheremet-va sheremet-va removed the status in Team Board Mar 28, 2024
@sheremet-va sheremet-va moved this to Approved in Team Board Mar 28, 2024
@sheremet-va sheremet-va added p2-nice-to-have Not breaking anything but nice to have (priority) pr welcome and removed p2-to-be-discussed Enhancement under consideration (priority) labels Mar 28, 2024
@sheremet-va
Copy link
Member

Closed in favour of #5445

@sheremet-va sheremet-va closed this as not planned Won't fix, can't repro, duplicate, stale Mar 28, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
p2-nice-to-have Not breaking anything but nice to have (priority) pr welcome
Projects
Archived in project
Development

No branches or pull requests

4 participants