Skip to content

splitstream: Add more unit tests#206

Merged
jeckersb merged 1 commit intocomposefs:mainfrom
cgwalters:splitstream-units
Jan 8, 2026
Merged

splitstream: Add more unit tests#206
jeckersb merged 1 commit intocomposefs:mainfrom
cgwalters:splitstream-units

Conversation

@cgwalters
Copy link
Collaborator

While a lot of the splitstream code is indirectly tested through unit and integration tests for higher level things, let's add dedicated unit tests here to it as well; the cost (execution time, text) is pretty small vs the value.

Note that splitstream has a circular dependency vs Repository; we discussed severing that, but after looking at an attempt to do so it adds a lot of complexity that I think worsens the calculus.

Assisted-by: OpenCode (Opus 4.5)

While a lot of the splitstream code is *indirectly* tested through
unit and integration tests for higher level things, let's add
dedicated unit tests here to it as well; the cost (execution time, text) is
pretty small vs the value.

Note that splitstream has a circular dependency vs Repository; we
discussed severing that, but after looking at an attempt to do so
it adds a lot of complexity that I think worsens the calculus.

Assisted-by: OpenCode (Opus 4.5)
Signed-off-by: Colin Walters <walters@verbum.org>
Copy link
Collaborator

@jeckersb jeckersb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Glorious tests 🥳

@jeckersb jeckersb merged commit 1cf872b into composefs:main Jan 8, 2026
5 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants