[CXX-1537] Upgrade Catch from 1.9.4 to 2.2.1 Created: 26/Mar/18  Updated: 28/Oct/23  Resolved: 09/Apr/18

Status: Closed
Project: C++ Driver
Component/s: Testing
Affects Version/s: None
Fix Version/s: 3.3.0-rc0

Type: Task Priority: Minor - P4
Reporter: A. Jesse Jiryu Davis Assignee: A. Jesse Jiryu Davis
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by CXX-1154 Allow stdx::optional to be used in Ca... Closed

 Description   

The new REQUIRE_THROWS_MATCHES test assertion will be useful for testing session and (eventually) transaction errors from the C Driver: we must test that a C++ method raised a particular type of error and that it includes a particular error message pattern from the C Driver.



 Comments   
Comment by Githook User [ 09/Apr/18 ]

Author:

{'email': 'jesse@mongodb.com', 'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis'}

Message: CXX-1537 Upgrade Catch2 to 2.2.1
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/222e67ddee07feaf5f54da389245c87d07551621

Comment by A. Jesse Jiryu Davis [ 28/Mar/18 ]

Update the check in test/sessions.cpp to use REQUIRE_THROWS_MATCHES.

Generated at Wed Feb 07 22:02:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.