0

where has the Webinterface for unittests in CakePHP 3 gone? There is no more test.php in the /webroot folder. Are tests only accessable by console now? That's not very comfortable!?

Thank you

ndm
  • 59,784
  • 9
  • 71
  • 110
mittererr
  • 125
  • 2
  • 10
  • I also find it very sad, but until someone provides a plugin bridge to re-enable it via VisualPHPUnit or alike there is nothing we can do about it. – mark May 18 '16 at 12:30

1 Answers1

2

Yes, the webrunner is gone, and it took the test shell with it into the abyss of outdated testing tools. Out of the box, CakePHP 3.x tests can only be run via the phpunit CLI runner.

[...]

The webrunner (webroot/test.php) has been removed. CLI adoption has greatly increased since the initial release of 2.x. Additionaly, CLI runners offer superior integration with IDE’s and other automated tooling.

If you find yourself in need of a way to run tests from a browser you should checkout VisualPHPUnit. It offers many additional features over the old webrunner.

[...]

From Cookbook > Appendencies > 3.x Migration Guide > Testing

ndm
  • 59,784
  • 9
  • 71
  • 110