catchorg / catchorg/Catch2

How to add description to a test case using overloaded equality(==) operator?

Open
#1,873 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
21.5k
Forks
3.5k
Avg merge
3d 16h
Merged PRs (30d)
2

Description

![image](https://user-images.githubusercontent.com/53231928/75139432-30a5db00-571f-11ea-940b-72e5e4bbdd0c.png)

How to add desciption, so that this test case would show the proper member of Point class?
What do i do after overloading the operator<< with my type?

Also, how to do the same with custom matchers?

![image](https://user-images.githubusercontent.com/53231928/75139614-a6aa4200-571f-11ea-80a8-07cdb21c966b.png)

Thank you in advance

Contributor guide

Open the contributing guide

Research direction

No repository file, test, or entry point is named. Start by reproducing the overloaded equality and custom matcher examples from the issue, then inspect Catch2's assertion and matcher documentation; done means the requested description behavior and both usage paths are clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
testing-qa
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.