PHPUnit runs the setUp()
method of a test class prior to running a specific test.
I load up test-specific fixtures for every test in a test class and would prefer not to have to explicitly do so. I would ideally like to handle this automagically in the setUp()
method.
If the setUp()
method makes available the test class name and test method name this can be done.
Is the name of the test class and method that is about to be run available to me in the setUp()
method?