【文件属性】:
文件名称:laravel-mojito::tropical_drink:用于隔离测试Laravel视图的轻量级软件包
文件大小:7KB
文件格式:ZIP
更新时间:2021-02-19 15:04:36
PHP
关于莫吉托
Mojito由创建,并由维护,是用于隔离测试Laravel视图的轻量级软件包。
安装及使用
需要
使用要求Mojito:
composer require nunomaduro/laravel-mojito --dev
如何使用:
class WelcomeTest extends TestCase
{
// First, add the `InteractsWithViews` trait to your test case class.
use InteractsWithViews ;
public function testDisplaysLaravel ()
{
// Then, get started with Mojito using the `assertView` method.
$ thi
【文件预览】:
laravel-mojito-master
----src()
--------InteractsWithViews.php(343B)
--------MojitoServiceProvider.php(602B)
--------Exceptions()
--------ViewAssertion.php(5KB)
----phpcs.xml.dist(184B)
----LICENSE.md(1KB)
----README.md(5KB)
----composer.json(2KB)