question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Show count of subtests in summary

See original GitHub issue

As 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:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
reaperhulkcommented, Jun 4, 2021

@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!)

0reactions
reaperhulkcommented, May 26, 2022

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#L1168

I’ll send a PR and we can discuss there 😄

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found