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

numbered results for test and io.test.all output #5080

Closed
ceedubs opened this issue Jun 12, 2024 · 0 comments · Fixed by #5140
Closed

numbered results for test and io.test.all output #5080

ceedubs opened this issue Jun 12, 2024 · 0 comments · Fixed by #5140
Assignees

Comments

@ceedubs
Copy link
Contributor

ceedubs commented Jun 12, 2024

Is your feature request related to a problem? Please describe.

When a test fails, I often want to look at the source code for the test.

Describe the solution you'd like

Right now the output of the test command looks like:

   ◉ time.patterns.asctimeFormat.test        Passed
   ◉ time.patterns.rfc7231DateTime.test850   Passed
   ◉ time.patterns.rfc7231DateTime.testIMF   Passed
   
   ✅ 3 test(s) passing

It would be nice if the output looked like:

   1. ◉ time.patterns.asctimeFormat.test        Passed
   2. ◉ time.patterns.rfc7231DateTime.test850   Passed
   3. ◉ time.patterns.rfc7231DateTime.testIMF   Passed
   
   ✅ 3 test(s) passing

And I could do view 2 to view time.patterns.rfc7231DateTime.test850.

Describe alternatives you've considered

N/A

Additional context

I think that this applies to both test and io.test.all.

The test output can be a bit more complicated than what I've pasted above. There can be one section for cached results and another section for new results. Also there can be failing tests.

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

Successfully merging a pull request may close this issue.

2 participants