exercism / exercism/cpp

Update catch2 version across all exercises

Offen
#997 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C++
Sterne
290
Forks
244
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.