I am using Junit framework and writing parameterized testing. I have a base abstract class which is extended by multiple test case classes.
Is there a way to find out the test case class name from the static code of the base abstract class. Any dirty hacks are welcome.
I tried the stackTrace but cause the static code of the base abstract class loads first, the stackTrace has no idea about the class that is extending this abstract class.
Thanks in advance.