Add option to print the namespace of the class instead of just the class name

Open
#6,883 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
php
Domain
testing

Research direction

Start in src/Codeception/Test/Cest.php at lines 197-204, where the class name is printed, and trace how the test output option is configured. Define the option's expected scope from the existing path removal behavior, then verify that enabled output includes the class namespace while the default output remains unchanged.

Written by the indexing model from the issue text.

Description

Can we have an option to print the full name of the class after removing the test base path and the suite path, so that we can have clarity on the folder structure?

https://github.com/Codeception/Codeception/blob/96443080d3c5b345b8bceb1f9c6251c520f2a7f6/src/Codeception/Test/Cest.php#L197-L204

Dominant language
PHP
Stars
4.9k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

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.

More from Codeception/Codeception

All issues in Codeception/Codeception

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.