Actyx / Actyx/banyan

Better unit tests

Aperta
#66 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
42
Fork
6
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.