philips-software / philips-software/amp-cucumber-cpp-runner

You should catch exceptions while constructing a StepBody/ExecutionBody

Open
#348 0 comments 0 reactions 1 assignee View on GitHub

@daantimmer is already working on this.

Since Jun 9, 2026.

Dominant language
C++
Stars
22
Forks
7
Avg merge
2d 5h
Merged PRs (30d)
4

Description

I'm constructing my own Fixture which implements StepBase.
During construction I attempt to retrieve something from Context, which may be null.
I receive a 'key not found error' - which is not caught in the correct location.
I should expect the test to fail instead of crash.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.