• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bernardladenthin / streambuffer / 26335673977 / 1
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 23 May 2026 03:15PM UTC
Files 1
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 May 2026 02:47PM UTC coverage: 100.0%. Remained the same
26335673977.1

push

github

web-flow
Add property-based and stress tests with jqwik and jcstress (#74)

* Add jqwik property tests and jcstress concurrency tests

Introduces two complementary test frameworks alongside the existing JUnit 5
suite to cover gaps that example-based tests cannot reach:

- jqwik (property-based, JUnit 5 engine) verifies round-trip, chunk-size
  independence, and counter accounting over arbitrary inputs.
- jcstress (Mode.Termination) verifies that a reader blocked in read() is
  correctly unblocked by both close() and write() signals, exercising the
  signalModification semaphore and streamClosed volatile.

jcstress is wired into the default test phase via exec-maven-plugin
(exec goal, forked JVM, -m quick) so mvn test runs it always-on.

* Grow concurrency seed: jcstress default mode + concurrent-write race + 2 properties

- Bump jcstress mode from -m quick to -m default (5 forks vs 1) for higher
  per-test sample counts; build time goes from ~55s to ~3min.
- Add ConcurrentWriteRace: two writers race; arbiter asserts both payloads
  appear contiguously (no interleaving) in one of two valid orders.
- Add safeWriteIsolatesFromExternalMutation property: with safeWrite=true,
  mutating the source array after write() must not affect read output.
- Add trimPreservesContentAcrossMaxBufferElements property: round-trip
  content must be preserved for arbitrary maxBufferElements (covers trim
  correctness).

---------

Co-authored-by: Claude <noreply@anthropic.com>

122 of 128 branches covered (95.31%)

250 of 250 relevant lines covered (100.0%)

4.02 hits per line

Source Files on job 26335673977.1
  • Tree
  • List 1
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 26335673977
  • 100ef718 on github
  • Prev Job for on main (#26082394488.1)
  • Next Job for on main (#26389278775.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc