Getting Started
TestCases are the fundamental building block in AsyncUnit. Write tests and use hooks to setup and tear down necessary state.
Installation
composer require --dev cspray/labrador-async-unitComposer Autoload
Getting Started
<?php
use Cspray\Labrador\AsyncUnit\TestCase;
use Cspray\Labrador\AsyncUnit\Attribute\Test;
class MyTestCase extends TestCase {
#[Test]
public function nameAnAsyncTestingFramework() {
$this-assert()->stringEquals('AsyncUnit', 'AsyncUnit');
}
}
Hey! What about async?
Asserting not conditions
The Stipulations
Last updated
Was this helpful?