TomasMikula / libretto

Declarative concurrency and stream processing library for Scala
Mozilla Public License 2.0
199 stars 7 forks source link

Tests with runtime stats #70

Open TomasMikula opened 2 years ago

TomasMikula commented 2 years ago

Test runs may produce runtime statistics.

Different implementations may produce different types of stats.

It should be possible to make assertions about stats as well.

Example use case: Check that the number of allocated resources does no exceed a certain threshold.