putyourlightson/craft-generate-test-spec

Maintainers

👁 putyourlightson

Package info

github.com/putyourlightson/craft-generate-test-spec

Type:yii2-extension

pkg:composer/putyourlightson/craft-generate-test-spec

Statistics

Installs: 5 728

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 0

v2.x-dev 2024-11-05 21:54 UTC

Requires

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

mit 5c1ad2b3985e8d1ac51b58796d3f6d1ac52e9689

This package is auto-updated.

Last update: 2026-06-06 02:07:21 UTC


README

A Craft module that generates a test specification from PEST PHP test results.

👁 Test specification

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.