/** * Configures the test listener as defined in the user settings. * * @return void */ protected function configureTestListener() { if ($this->userSettingsService->getAsBoolean('testdox')) { $this->testListener->useHumanReadableTextFormat(); } if ($this->userSettingsService->getAsBoolean('showMemoryAndTime')) { $this->testListener->enableShowMenoryAndTime(); } }
/** * @test */ public function prettifyTestClassForCoreTestAndForTestSuffixAfterUseHumanReadableTextFormatConvertCamelCaseToWords() { $this->fixture->useHumanReadableTextFormat(); $this->assertSame('t3lib formprotection InstallToolFormProtection', $this->fixture->prettifyTestClass('t3lib_formprotection_InstallToolFormProtectionTest')); }
/** * @test */ public function prettifyTestClassForExtbaseClassNameAfterUseHumanReadableTextFormatConvertCamelCaseToWordsAndDropsTestSuffix() { $this->subject->useHumanReadableTextFormat(); self::assertSame('Phpunit BackEnd TestListener', $this->subject->prettifyTestClass('Tx_Phpunit_BackEnd_TestListenerTest')); }