Actyx / Actyx/banyan

Better unit tests

オープン
#66 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
42
フォーク
6
PR マージ指標
30日以内にマージされた PR はありません

説明

The current unit tests implicitly rely on the tree structure. E.g. the retain2 unit test, copied from a failed property based test, will only fail if you have a certain tree structure. But as soon as you would change the debug_fast options, you would no longer get the right tree structure for the test to be meaningful.

What should be done instead is to have a way to explicitly create a certain tree structure, or load the test trees from blocks. That way the tests would be more stable.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Locate the retain2 unit test and inspect how debug_fast options determine the tree structure used by the test. Compare the current test setup with the proposed approaches of explicitly creating a tree or loading test trees from blocks. Done means the tests no longer depend implicitly on debug_fast or incidental tree structure and remain meaningful after those options change.

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

評価

技術スタック
rust
領域
testing-qa
issue の種類
リファクタリング
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
30/100

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

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