https://github.com/aedart/athenaeum-testing
[READ ONLY] Athenaeum Testing package - see https://github.com/aedart/athenaeum
https://github.com/aedart/athenaeum-testing
athenaeum-testing testing
Last synced: 4 months ago
JSON representation
[READ ONLY] Athenaeum Testing package - see https://github.com/aedart/athenaeum
- Host: GitHub
- URL: https://github.com/aedart/athenaeum-testing
- Owner: aedart
- License: bsd-3-clause
- Created: 2020-01-22T19:13:59.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2026-03-05T09:16:48.000Z (4 months ago)
- Last Synced: 2026-03-05T13:44:42.975Z (4 months ago)
- Topics: athenaeum-testing, testing
- Language: PHP
- Size: 137 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Athenaeum Testing
The Testing package offers various testing utilities, built on top of [Codeception](https://codeception.com/) and [Orchestra Testbench](https://packagist.org/packages/orchestra/testbench).
It allows you to test Laravel specific components, Laravel's application and offers a few utilities for testing the [Athenaeum Core Application](https://packagist.org/packages/aedart/athenaeum-core).
Lastly, this package also comes with [Mockery](https://packagist.org/packages/mockery/mockery) and [Faker](https://packagist.org/packages/fzaninotto/faker).
## Exaxmple
```php
use \Aedart\Testing\TestCases\UnitTestCase;
class FuelConsumptionTest extends UnitTestCase
{
/**
* @test
*/
public function calculatesFuel()
{
$faker = $this->getFaker();
$kilometers = $faker->numberBetween(1, 25);
$consumption = FuelConsumption::calculate($kilometers);
// ... remaining not shown ...
}
}
```
## Documentation
Please read the [official documentation](https://aedart.github.io/athenaeum/) for additional information.
## Repository
The mono repository is located at [github.com/aedart/athenaeum](https://github.com/aedart/athenaeum)
## Versioning
This package follows [Semantic Versioning 2.0.0](http://semver.org/)
## License
[BSD-3-Clause](http://spdx.org/licenses/BSD-3-Clause), Read the LICENSE file included in this package