PHPUnit
docs
書き方
実行
$ phpunit
$ phpunit Hoge
HogeTest.phpをtest
実行時のログの記号
. success
F fail。 test caseにfailした
E error。 PHPレベルで例外が起きている
FとEがある場合は先にEを修正すると良い
R Riskとマークされてる
https://phpunit.readthedocs.io/ja/latest/risky-tests.html#risky-tests
S skip
I 不完全、未実装
options ref
dumpすればlog見れる
private functionのtest