google / google/googletest

[Bug]: EXPECT_THAT matchers Throws and ThrowsMessage are missing from the documentation

Open
#4,416 0 comments 3 reactions 0 assignees View on GitHub
priority: p2
Dominant language
C++
Stars
39.5k
Forks
10.9k
Avg merge
6d 13h
Merged PRs (30d)
1

Description

### Describe the issue

I really like the addition of `Throws` and `ThrowsMessage`. I noticed that they appear to be missing from the [Matchers Reference page](https://google.github.io/googletest/reference/matchers.html).

### Steps to reproduce the problem

Visit the [Matchers Reference page](https://google.github.io/googletest/reference/matchers.html) and search for `Throws` and `ThrowsMessage`, with no results.

### What version of GoogleTest are you using?

latest

### What operating system and version are you using?

N/A

### What compiler and version are you using?

N/A

### What build system are you using?

N/A

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Open the linked Matchers Reference page and verify how existing matcher entries are organized. Document Throws and ThrowsMessage there, then confirm that both names and their relevant details appear in the published reference.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
documentation, testing-qa
Issue type
Documentation
Difficulty
1/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.