Skip to content

Repository files navigation

presentation-lion-packages

Latest Stable VersionTotal DownloadsLicensePHP Version Require

🚀 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:

composer require --dev phpunit/phpunit lion/test

Usage Example

<?phpdeclare(strict_types=1);
namespaceTests;
useLion\Test\Test;
usePHPUnit\Framework\Attributes\TestasTesting;
class ExampleTest extends Test
{
protectedfunctionsetUp(): void
{
$this->initReflection(newExampleController());
}
#[Testing]
publicfunctionexample(): void
{
$this->assertPropertyValue('id', 1);
}
}

📝 License

The test is open-sourced software licensed under the MIT License.

About

library to implement testing with helpers that allow easy testing with PHPUnit.

Topics

Resources

Code of conduct

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages