Here's a bit about finding the calling test fixture name and bugs that result from doing this. Normally, writing tests that are aware of their environment is not an ideal practice. It invites writing code that performs differently depending on its test