Show count of subtests in summary
See original GitHub issueAs always, thanks for the work on this extremely useful plugin!
It would be useful if pytest-subtests
could provide a count of the number of subtests. Either by incrementing the pytest
test count, or augmenting it with a new section. Something like 2760 passed (53,383 subtests), 3253 skipped
.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Sub-Test Descriptions: Woodcock-Johnson Test of Achievement
This sub-test measures a student's ability to analyze and solve math problems. Initial items require application of simple number concepts. The majority of ......
Read more >Subtests in Python - Paul Ganssle
Summary · The concept of counting "a test" or "a failure" gets a lot fuzzier. · Easy to get spammed with a million...
Read more >Entering WIAT-4 Scores - Q-global
The subtest standard score is based on the average number of words read correctly per minute across the two passages. Examinees answer a...
Read more >Description of Cognitive Subtests
On the Sequential and Quantitative Reasoning subtest, the student was asked to complete a series/sequence of abstract designs by identifying the missing designs ......
Read more >WISC IV subtests - Think Tonight
The Wechsler Intelligence Scale for Children (WISC-IV) is an individually administered IQ test used with children aged from 6 to 16.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@nicoddemus not a problem, I just wanted to file this as a tracking issue for anyone who might have the inclination to implement it. That might be me, but not just yet 😄 (Although if you have any pointers on where in pytest this might best be tracked that could be helpful!)
We could definitely change it to do
subtests passed
,subtests skipped
,subtests failed
as additional categories, and that does appear to work (albeit with yellow text for all of them due to https://github.com/pytest-dev/pytest/blob/c988e49af63a50f0704a46a93e73463666451af0/src/_pytest/terminal.py#L1168I’ll send a PR and we can discuss there 😄