This PR adds a comprehensive test suite for ZStreamAspect
Changes -
- Tests for
annotated
aspect:
- Verifies that single and multiple log annotations are actually added to the stream using
ZIO.logAnnotations
.
- Tests for
rechunk
aspect:
- Verifies that the stream is properly rechunked to the specified size and that all elements are preserved.
- Tests for
tagged
aspect:
- Verifies that metric tags are actually added to the stream using
ZIO.metricTags
.
- Tests for aspect composition:
- Verifies that multiple aspects (e.g.,
annotated
and rechunk
, rechunk
and tagged
) work together and both their effects are applied.
Closes #9922
/claim #9922