Field Manual Brokerage / Linux / Laravel
← Laravel

tests/TestCase.php

Fresh skeleton only; preserve existing test setup in supplied projects.

What it is

Complete brokerage practice file. The Assemble project page lists every file in order.

When to use it

Fresh skeleton only; preserve existing test setup in supplied projects.

Syntax

mkdir -p 'tests'
# Paste the Example below into tests/TestCase.php

Example

<?php

declare(strict_types=1);

namespace Tests;

use Illuminate\Foundation\Testing\TestCase as BaseTestCase;

abstract class TestCase extends BaseTestCase
{
}

Common mistakes

Use the setup runbook first. Adapt provisional API assumptions to the supplied contract. Merge into supplied applications; do not duplicate the orders migration.

Related topics

API contract: change these points first