Introduction
The Testing package offers various testing utilities, built on top of Codeception and Orchestra Testbench. It allows you to test Laravel specific components, Laravel's application and offers a few utilities for testing the Athenaeum Core Application.
Lastly, this package also comes with Mockery and Faker.
Example
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 ...
}
}