Improve testing

オープン
#295 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
静か
技術スタック
ocaml
領域
testing

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
C
スター
54
フォーク
9
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

grain-lang/binaryen.ml のほかの issue

grain-lang/binaryen.ml の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。