pestphp / pestphp/pest

Target class [config] does not exist.

Open
#1,450 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
11.7k
Forks
538
Avg merge
4d 11h
Merged PRs (30d)
8

Description

I get the titled error when I try browser test. The following is my tests/Unit/BrowserTest.php:

<?php

it('home', function () {
    $page = visit('/');
    $page->assertSee('Welcome');
});

Anyone know how to resolve this?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with tests/Unit/BrowserTest.php and run the browser test to reproduce the “Target class [config] does not exist.” error. Trace the failing setup from that test and document the project change needed so the test can visit / and pass its Welcome assertion.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.