I am creating a map where when an acceptance/regression test case is run, It should give me all the Class instances it is called So that I can map these classes with their respective regression test case. Is there any way that I can get all the class instances it is executed from java when a test case is run?
Ex: regression test case A -> service class(which contains all the dependencies class)