Explicit object representation testing
@sadielbartholomew arbeitet bereits daran.
Seit 24.11.2021.
- Vorherrschende Sprache
- Python
- Sterne
- 150
- Forks
- 23
- Ø Merge
- 1 T. 11 Std.
- Gemergte PRs (30 T.)
- 2
Beschreibung
Our test suite currently tests for most (but not all) core cf objects that the inspection (__repr__, __str__ and in cases where applicable, dump) methods don't error, without going further and checking that they give the desired output explicitly, typically something close to this:
It would be nice, ideally, to test that the outputs are correct and exactly as they should be, to capture representation issues and typos such as that raised in #279 (which I fixed without adding a dedicated test to capture it because most, if not all, of our representation tests lack such an explicit test and it would be best to get such tests all added as a batch, I think).
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.