couchbase-lite-core icon indicating copy to clipboard operation
couchbase-lite-core copied to clipboard

Updated Catch2 to v3.7.1, from v2.13.8

Open snej opened this issue 1 year ago • 8 comments

  • Catch itself is in Fleece, along with helper code. This PR depends on https://github.com/couchbase/fleece/pull/240
  • Changed numberOfOptions constants to use constexpr.
  • Made a few improvements to test classes as I went through them.
  • Some tests were not testing all configurations.
  • The old implementation of N_WAY_TEST_CASE_METHOD was a kludge andwould skip SECTIONs in options other than 0; the new one doesn't. This turned up a bug in c4ObserverTest.cc, which I fixed.
  • ReplicatorLoopbackTest used a different technique to do multi-way tests, for some reason. I changed it to use the regular N_WAY.. macro.
  • VectorRecordTest wasn't being built by CMake, oops! Fixed that.

snej avatar Oct 03 '24 20:10 snej