exercism / exercism/java-analyzer

Document guidelines on testing

Aperta
#123 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
13
Fork
27
Merge medio
4g 17h
PR unite (30g)
7

Descrizione

I think we should come up with some guidelines on how analyzers should be tested. My proposal would be:

- Unit tests should exist to obtain as much code coverage as possible. Correctness of each exercise analyzer should be tested that way.
- Each exercise should have at least two smoke tests: one with an optimal solution that receives no feedback, and one with a solution that receives at least one exercise-specific comment.
- Next to that, a few smoke tests to cover exercises for which no analyzer is implemented should be present too, to make sure the analyzer works properly for every exercise. By that I mean that it shouldn't crash or something.

Once we come up with some concrete guidelines, we should probably write them down in the docs.

_Originally posted by @sanderploegsma in https://github.com/exercism/java-analyzer/issues/122#issuecomment-1924524027_

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia esaminando la proposta copiata dall’issue #122 e ispeziona gli unit test e gli smoke test esistenti dell’analyzer per identificare la copertura e le convenzioni attuali. Definisci linee guida concrete per i test degli esercizi analizzati e non analizzati, documentale e verifica che le linee guida corrispondano ai test esistenti del repository.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
documentation, testing-qa
Tipo di issue
Documentazione
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.