Documentation
    Preparing search index...

    The Test runner process is used to start the tests runner process. It provides lifecycle hooks for configuring the test environment and running tests within the AdonisJS application context.

    const ignitor = new Ignitor()
    const testProcess = new TestRunnerProcess(ignitor)

    await testProcess
    .configure((app) => {
    // Configure test environment
    })
    .run(async (app) => {
    // Run your tests
    })
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Register a callback that runs after booting the AdonisJS app and just before the provider's ready hook

      Parameters

      • callback: (app: ApplicationService) => void | Promise<void>

        Configuration callback function

      Returns this