Можно ли получить текущий тест в приспособлении setUp ?

Я не смог найти ничего подобного и полагаю, что его не существует ..

class Test extends PHPUnit_Framework_TestCase {
    public function setUp() {
        echo $current_test; // Output a string "testOne"
    }

    public function testOne() {
        // This is the first test; before this test is ran setUp() is called.
        // The question is, is there any way to know within setUp() what the 
        // current test is?
    }
}
5
задан Problematic 23 February 2012 в 02:37
поделиться