Apex\App\Sys\Tests\ApexTestCase
Description
Unit testing library
Methods
- public apex(): Send CLI Command
- public http(): Send test http request
- public invokeMethod(): Invoke private / protected method
- public login(): Login user
- public waitException(): Wait for an exception
Custom Assertions
- public assertFileContains(): assertFileContains
- public assertFileNotContains():
- public assertHasCallout(): Check if page has call out
- public assertHasDBField(): Check single database field
- public assertHasDbRow(): assertHasBvRow
- public assertHasFormError(): Check form validation error
- public assertHasFormField(): Check if form field exists
- public assertHasHeading(): Check for heading
- public assertHasTable(): Check for submit button final public function assertHasSubmit(string $value, string $label) { $this-
- public assertHasTableField(): Check for specfic table row and column value
- public assertNotHasCallout():
- public assertNotHasDBField():
- public assertNotHasDbRow():
- public assertNotHasFormError():
- public assertNotHasFormField():
- public assertNotHasHeading():
- public assertNotHasTable():
- public assertNotHasTableField():
- public assertNotPageTitle():
- public assertPageContains(): Check if http response body contains text
- public assertPageNotContains():
- public assertPageTitle(): Assert page title matches
- public assertPageTitleContains(): Page title contains
- public assertPageTitleNotContains():
- public assertStringContains(): Check string contains text
- public assertStringNotContains():