Skip to content

RedberryProducts/laravel-zephyr

Repository files navigation

Integrate Zephyr into Laravel

This package allows you to integrate Zephyr Test Suite into Laravel.

Installation

You can install the package via composer:

composer require redberryproducts/laravel-zephyr

You can publish the config file with:

php artisan vendor:publish --provider="RedberryProducts\Zephyr\ZephyrServiceProvider"

This is the contents of the published config file:

return [
];

Usage

Run pest tests using pest --log-junit storage/app/junit.xml

Getting test cases & structure from Zephyr and storing locally

You should get project key from test cases/folders index. For example, if test case ID is SVB-T1, project key is SVB

php artisan zephyr:generate $projectKey

Sending test results to Zephyr

php artisan zephyr:results $projectKey

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.

Todo

  • Make filesystem disk dynamic (move to config)
  • Use stubs instead of hardcoding test file creation strings
  • Use Junit format instead of JSON?

About

Zephyr integration package for Laravel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages