pytest-dev / pytest-dev/pytest-cpp

Error out of test name has a trailing white space in Catch2

Open
#156 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
146
Forks
26
Avg merge
12h 26m
Merged PRs (30d)
1

Description

It will show internal error if test name defined in catch2 has a trailing white space

Of course no issue when directly running the executable

Contributor guide

No contributing guide indexed for this repository

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 by reproducing the issue with a Catch2 test name ending in whitespace through pytest-cpp, then compare it with directly running the executable as described. Trace the test discovery and execution entry points to identify where the internal error is produced; done means the test runs without an internal error and preserves valid names.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
testing-qa
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.