exercism / exercism/yamlscript

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

Aperta
#51 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Shell
Stelle
2
Fork
9
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.