PHPUnit - No Tests Found

Well, it was all working just fine and now, I get No tests were found, no matter what configuration I use. How do I even start to debug this issue? I'm not getting any errors, it just won't run any tests. I've tried running a directory and a class.

3 comments
Comment actions Permalink

Is there a log or something that will tell me what's going on?

0
Comment actions Permalink

I believe it's no longer running my bootstrap.php file. I changed the code to force an error in this file, but I don't get an error.

0
Comment actions Permalink

Ok, I found the problem. We are moving some files and a class existed twice (in two different folders) and so it was declared twice.

Here's my problem with this process. The only way I could find that is to run PHPUnit from the command line. Why is that not shown as a fatal error in the console in PHPStorm?

0

Please sign in to leave a comment.