exercism / exercism/cpp

Update catch2 version across all exercises

Open
#997 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
290
Forks
244
PR merge metrics
No merged PRs in 30d

Description

The Catch2 version used here is different from what the [test runner ](https://github.com/exercism/cpp-test-runner) uses. To add to the chaos, for `complex-numbers` #995 adds the test runner's version, because for the matcher used there, v2.13.6 and v3.4.0 are incompatible. To clean this up, we should use a single version everywhere. Concretely this means:

* update all exercises to at least Catch2 3.4.0 (it could make sense to pick something newer, but then the test runner and the local repo should be updated more or less simultaneously)
* remove the special handling from `complex-numbers`

It could also make sense to introduce some tooling that automates the process of copying the Catch2 files into the exercises' directories.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.