Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] GTest matcher integration #40

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open

Conversation

DNKpp
Copy link
Owner

@DNKpp DNKpp commented Oct 3, 2024

As with the "catch2-matcher-integration" experimental feature, it would probably be beneficial to add a native integration of the gtest matchers. Unfortunatly that seems to be more complicated.

The current state integrates the gtest matchers, but those are just a very small sub-set of all available matchers. Most of them are part of gmock, with an completetly different architecture. gmock seems to provide tools to unify both worlds, but gtest by itself is quite useless.
e.g. testing::MatcherCast, testing::SafeMatcherCast, testing::matches

Definitely more research required.

@DNKpp DNKpp added enhancement New feature or request help wanted Extra attention is needed labels Oct 3, 2024
Copy link

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
Report missing for 882f3bb1
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (882f3bb) Report Missing Report Missing Report Missing
Head commit (a969fc3) 933 927 99.36%

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#40) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

Footnotes

  1. Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.

Copy link

codecov bot commented Oct 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.67%. Comparing base (1585ca2) to head (a969fc3).
Report is 8 commits behind head on development.

Additional details and impacted files
@@               Coverage Diff               @@
##           development      #40      +/-   ##
===============================================
+ Coverage        96.66%   96.67%   +0.01%     
===============================================
  Files               13       13              
  Lines              930      933       +3     
  Branches           285      285              
===============================================
+ Hits               899      902       +3     
+ Misses               7        6       -1     
- Partials            24       25       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 11160832364

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 99.357%

Totals Coverage Status
Change from base Build 11160688607: 0.0%
Covered Lines: 927
Relevant Lines: 933

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants