lundi 2 mars 2020

In doctest, how can I use the test case name within the testcase?

I'm using the doctest C++ unit testing framework. I want to be able to use my test case' name inside that test case's code. Can I do that? I know that tests are registered in some static/global data structure, but can I access it and obtain the test name from there?





Aucun commentaire:

Enregistrer un commentaire