for several days I have been trying to get PHPUnit to work with Codeigniter in PHPStorm. I installed PHPUnit via Composer, and this seems to work fine on simple unit tests that are not related to CodeIgniter.
I followed the (simple) PHPUnit setup guide with Codeigniter in the IDE found here: http://www.jamesfairhurst.co.uk/posts/view/codeigniter_phpunit_and_netbeans
But the debugger in PHPStorm continues to return the same error, HTML and CSS pages 404 (codeigniter) and "Process terminated with exit code 0". The same thing happens when you try to start from the terminal.
As described in the manual, I installed the .xml configuration file for PHPUnit, which loads the bootstrap file that Codeigniter should initialize.
<phpunit bootstrap="bootstrap.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" syntaxCheck="false" verbose="true"> </phpunit>
I'm completely lost now, how can I get PHPUnit to work with Codeigniter in PHPStorm? I suspect this has something to do with the output class. But then again, I'm new to PHPUnit and most recently started with CodeIgniter.
Any help would be appreciated!
source share