Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在测试 Laravel 项目时,我想在某些情况下手动回显警告。
使用 addWarning 方法
public function testBasicTest() { $this->addWarning('There is not enough record in actual database to test pagination'); }