Rehearsal

Introduction

An orchestra extension to simplify testing packages in a litstack application environment.

Installation

Install the package via composer:

composer require --dev litstack/rehearsal

Usage

To run tests in a litstack environment, your test class only needs to extend Litstack\Rehearsal\TestCase.

use Litstack\Rehearsal\TestCase as LitstackTestCase;

class TestCase extends LitstackTestCase
{
    public function test_litstack_is_installed()
    {
        $this->assertTrue(lit()->installed());
    }
}

This testcase is an extension of Orchestra\Testbench\TestCase. All its functions can be used. Read more on how to test your packages in the orchestra docs

Why don't you do us a favor by leaving a little star on GitHub