Skip to content

Installation - Wrong Instructions On Command Line To Generate Test #6644

@benanamen

Description

@benanamen

What are you trying to achieve?

Create the first acceptance test after bootstrapping Codeception.

What do you get instead?

After completion of running the bootstrap command "Next Step" instructions 1-4 are displayed. Instructions 3 & 4 are wrong.

  1. Create your first acceptance tests using codecept g:cest acceptance First
  2. Write first test in tests/acceptance/FirstCest.php

The bootstrap creates directories tests/Acceptance with a CAPITAL A in Acceptance, not lowercase. If you try to run the instruction as shown (copy/paste) you will get the error: "Suite acceptance was not loaded"

FIX: "Next Step" instructions need the "a" in "acceptance" in Steps 3 & 4 changed to Uppercase "A"

FILE: codeception/codeception/src/Codeception/Template/Bootstrap.php
LINES: 72 & 73

Details

  • Codeception version: 5x
  • PHP Version: 8.1
  • Operating System: Any

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions