aedart/athenaeum-testing
最新稳定版本:10.5.0
Composer 安装命令:
composer require --dev aedart/athenaeum-testing
包简介
Testing utilities built on top of Orchestra Testbench and Codeception
关键字:
README 文档
README
The Testing package offers various testing utilities, built on top of Codeception and Orchestra Testbench. It allows you to test Laravel specific components, Laravel's application and offers a few utilities for testing the Athenaeum Core Application.
Lastly, this package also comes with Mockery and Faker.
Exaxmple
use \Aedart\Testing\TestCases\UnitTestCase; class FuelConsumptionTest extends UnitTestCase { /** * @test */ public function calculatesFuel() { $faker = $this->getFaker(); $kilometers = $faker->numberBetween(1, 25); $consumption = FuelConsumption::calculate($kilometers); // ... remaining not shown ... } }
Documentation
Please read the official documentation for additional information.
Repository
The mono repository is located at github.com/aedart/athenaeum
Versioning
This package follows Semantic Versioning 2.0.0
License
BSD-3-Clause, Read the LICENSE file included in this package
统计信息
- 总下载量: 2.52k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2020-01-22