https://github.com/lion-packages/test
library to implement testing with helpers that allow easy testing with PHPUnit.
https://github.com/lion-packages/test
php phpunit testing
Last synced: 23 days ago
JSON representation
library to implement testing with helpers that allow easy testing with PHPUnit.
- Host: GitHub
- URL: https://github.com/lion-packages/test
- Owner: lion-packages
- License: mit
- Created: 2023-11-19T02:15:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-06T15:51:26.000Z (28 days ago)
- Last Synced: 2025-04-12T08:05:51.627Z (23 days ago)
- Topics: php, phpunit, testing
- Language: PHP
- Homepage: https://dev.lion-packages.com/docs/library/content
- Size: 91.8 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: .github/README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# 🦁 Lion-Test
🚀 **Lion-Test** library to implement testing with helpers that allow easy testing with PHPUnit.
---
## 📖 Features
✔️ Easy-to-use assertions beyond the default PHPUnit set.
✔️ Custom helper functions for common test patterns.
✔️ Integration with PHPUnit for seamless test execution.---
## 📦 Installation
Install the test using **Composer**:
```bash
composer require --dev phpunit/phpunit lion/test
```## Usage Example
```php
initReflection(new ExampleController());
}#[Testing]
public function example(): void
{
$this->assertPropertyValue('id', 1);
}
}
```## 📝 License
The test is open-sourced software licensed under the [MIT License](https://github.com/lion-packages/test/blob/main/LICENSE).