Replies: 1 comment
-
Currently, the only thing you can get is the current test case name like this: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been loving doctest so far, but have come across an interesting question.
Is there a way to get the currently running tests name while inside a test?
So something like this:
or even:
What I would like to be the output there, is some string that is unique to the currently running test case / subcase.
So in the first example something along the lines of
case.subcase
.And in the second example something along the lines of
case.subcase1
when running the first subcase andcase.subcase2
when running the second subcase.Is something like that supported?
If not, would this be a feasible enhancement?
Beta Was this translation helpful? Give feedback.
All reactions