CodeIgniter Forums
Running unit tests in the browser - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=31)
+--- Thread: Running unit tests in the browser (/showthread.php?tid=84688)



Running unit tests in the browser - mzl_sadat - 10-31-2022

Hello
Is there a way to run the unit tests created in the test folder in the browser?
Or is the only way to run unit tests through the command line?
Thanks


RE: Running unit tests in the browser - kenjis - 10-31-2022

I don't know how to run in the browser.
In the past, there was https://github.com/VisualPHPUnit/VisualPHPUnit
but it does not work in current PHP versions.


RE: Running unit tests in the browser - mzl_sadat - 11-01-2022

Is it possible to use shell_exec? If the answer is yes, what should be the input string to give the correct result?


RE: Running unit tests in the browser - ableparsnips - 10-03-2023

If that's the case, what character sequence should be used as input?
slope