styde/whetstone
Composer 安装命令:
composer require styde/whetstone
包简介
Tool to unit test your Blade views and components
README 文档
README
Tool to unit test your Blade views and components.
Whetstone extends the Blade testing methods provided by Laravel out of the box, so you can test the full rendering of Blade views and components.
Installation:
composer require styde/whetstone
Usage:
$this->template('<x-nav-link :url="$url">Enlighten</x-nav-link>') ->withData([ 'url' => 'https://github.com/Stydenet/enlighten', ]) ->assertSee('Enlighten') ->assertRender(' <a href="https://github.com/Stydenet/enlighten">Enlighten</a> ');
统计信息
- 总下载量: 398
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-11-21