An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

        

# 🦁 Lion-Test



Lion-Packages Logo



Latest Stable Version


Total Downloads


License


PHP 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**:

```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).