defstudio/pest-plugin-laravel-expectations
最新稳定版本:v2.6.0
Composer 安装命令:
composer require --dev defstudio/pest-plugin-laravel-expectations
包简介
A plugin to add laravel tailored expectations to Pest
README 文档
README
This Pest plugin adds Laravel specific expectations to the testing ecosystem
it('can check model exists', function(){ $user = User::factory()->create(); expect($user)->toExist(); });
Installation
You can install the package via composer:
composer require --dev defstudio/pest-plugin-laravel-11.expectations
The expectations added by this plugin are automatically loaded into Pest's expectation system. They can be used along other expectations.
Documentation
A full documentation with a detailed list of available expectations can be found at:
https://docs.defstudio.it/pest-plugin-laravel-expectations
Autocompletion
For PhpStorm users, a nice Plugin has been developed by Oliver Nybroe. It adds full autocompletion to ours Laravel Expectations, it is worth to take a look: https://github.com/pestphp/pest-intellij
Changelog
All notable changes to this project in our changelog. For a full understanding of what changed and the PR that where merged, see also the releases page
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Credits
Please see the contributing guide for details on how to contribute to this plugin.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 499.02k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 98
- 点击次数: 1
- 依赖项目数: 6
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-10-03