FAQ item request: Accessing current testcase name
Author: eyalrozCreated Mar 2, 2020Updated Jun 22, 2026
Labelshas-workaroundtype/feature-proposalcategory/API-usage
I couldn't find this in the documentation or the FAQ: Is it possible to obtain the current test case's name from within that testcase's code? I mean, it should be, but how do we do it? That should be either in the FAQ or in some other relevant documentation file, IMHO.
Source: doctest/doctest