Run simple tests in browser

materix
Member | 66
+
0
-

I would like to use Nette Tester for testing a site, if various minimum requirements are met.

Is it possible to run simple tests in the browser, or is it only possible in CLI?

Last edited by materix (2023-06-01 10:08)

Marek Bartoš
Nette Blogger | 1167
+
0
-

If you want a checker for runtime environment it would probably be best to do it your own way, without any tester.

If you insist on using tester, I believe you could use CliTester directly. Just set $_SERVER['argv'] as it would be set in console and set output to tap (-o tap).