exercism / exercism/cpp

Update catch2 version across all exercises

Ouverte
#997 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C++
Étoiles
290
Forks
244
Métriques de merge des PR
Aucune PR mergée en 30 j

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.