PHPUnit - 'No tests executed' when using configuration file

后端 未结 22 749
故里飘歌
故里飘歌 2021-01-31 00:47

The Problem

To improve my quality of code, I\'ve decided to try to learn how to test my code using Unit Testing instead of my mediocre-at-best testing solutions.

22条回答
  •  春和景丽
    2021-01-31 01:32

    This is very late but I hope it helps someone.

    I got my tests to run by using an absolute reference. folder structure [ project/tests/test.php]

    my directory line looked like this ./tests/test.php

提交回复
热议问题