Actyx / Actyx/banyan

Better unit tests

Offen
#66 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Rust
Sterne
42
Forks
6
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.