Improve testing

Aperta
#295 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
ocaml
Ambito
testing

Direzione di ricerca

The payload names no files, so start by finding the current test suite and the OCaml binding modules it exercises in the repository. Read the earlier partial attempt in #265 to see which bindings are already covered. Done means every binding is called at least once with its signature checked, and the tests are split to mirror the API's module layout.

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

Descrizione

good first issue Tests

I've noticed that our current test suite is rather monolothic and inconssistent on what we test and do not test.

While we've never had the intention of fully testing every api as binaryen does that internally I think it would still be beneficial to make sure we are calling every binding and making sure that everything fully works this would prevent bugs form being missed in our low level bindings specifically.

I started this work a while ago in #265 but haven't managed to finish it as there are a lot of apis. While doing this rewrite I think it would be beneficial to break our tests up similar to how the api is broken up making it easier to follow and maintain.

To clarify the goal is not to fully test every api behaviourly but smoketest the bindings themselves and make sure we are following the right signatures. This issue wouldn't be very hard to solve but due to the large number of api's it is a little tedious.

Lingua principale
C
Stelle
54
Fork
9
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di grain-lang/binaryen.ml

Tutte le issue di grain-lang/binaryen.ml

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.