putyourlightson/craft-generate-test-spec
Composer 安装命令:
composer require putyourlightson/craft-generate-test-spec
包简介
README 文档
README
A Craft module that generates a test specification from PEST PHP test results.
See an example.
Installation
Install this package via composer.
composer require putyourlightson/craft-generate-test-spec --dev
Usage
This module looks for a test-results.xml file (JUnit XML format) in the test path and generates a test spec at ./TESTS.md.
php craft generate-test-spec/markdown path/to/tests
The following command can be used to have Pest produce the test-results.xml file in the required JUnit XML format.
php craft pest/test --test-directory=path/to/tests --log-junit=path/to/tests/test-results.xml
License
This module is licensed for free under the MIT License.
Created by PutYourLightsOn.
统计信息
- 总下载量: 3.1k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: mit
- 更新时间: 2023-08-04