mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-21 22:56:12 +01:00
[DOCS] Add comment for controller unit tests (#1502)
Explain that those tests are not best practice anymore, and that we're in the process of migrating them to functional tests. Fixes #1499
This commit is contained in:
parent
fdf4f53d8e
commit
8a7bd78df1
2 changed files with 6 additions and 0 deletions
|
@ -22,6 +22,9 @@ use TYPO3\TestingFramework\Core\AccessibleObjectInterface;
|
||||||
use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
|
use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Note: Unit tests for controllers are not considered best practice anymore. Instead, functional tests should be used.
|
||||||
|
* We're currently in the process of migrating all controller tests to functional tests.
|
||||||
|
*
|
||||||
* @covers \TTN\Tea\Controller\FrontEndEditorController
|
* @covers \TTN\Tea\Controller\FrontEndEditorController
|
||||||
*/
|
*/
|
||||||
final class FrontEndEditorControllerTest extends UnitTestCase
|
final class FrontEndEditorControllerTest extends UnitTestCase
|
||||||
|
|
|
@ -17,6 +17,9 @@ use TYPO3\TestingFramework\Core\AccessibleObjectInterface;
|
||||||
use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
|
use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Note: Unit tests for controllers are not considered best practice anymore. Instead, functional tests should be used.
|
||||||
|
* We're currently in the process of migrating all controller tests to functional tests.
|
||||||
|
*
|
||||||
* @covers \TTN\Tea\Controller\TeaController
|
* @covers \TTN\Tea\Controller\TeaController
|
||||||
*/
|
*/
|
||||||
final class TeaControllerTest extends UnitTestCase
|
final class TeaControllerTest extends UnitTestCase
|
||||||
|
|
Loading…
Reference in a new issue