exercism / exercism/yamlscript

Using `generate-test-file` to update an existing test suite?

Offen
#51 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Shell
Sterne
2
Forks
9
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Is `./bin/generate-test-file` intended only for use in creating new exercises or for updating existing exercise test suites as well? It's pulling from the problem-specifications repository, but notably, it doesn't check the local tests.toml file so it ends up generating all tests. That's a problem because new tests can be introduced to replace existing previous tests. A maintainer may also decide not to include a particular test. In either case, `include = false` should be honored if present underneath a given test and that test skipped. That'd make maintenance a lot simpler since you could use the same script to generate new test suites or update existing ones.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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