Skip to content

test: cover pure cores (units, budget data, cgroup/nss parsers)#22

Merged
markovejnovic merged 10 commits into
mainfrom
test/more-tests
Jun 24, 2026
Merged

test: cover pure cores (units, budget data, cgroup/nss parsers)#22
markovejnovic merged 10 commits into
mainfrom
test/more-tests

Conversation

@markovejnovic

@markovejnovic markovejnovic commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@codecov

codecov Bot commented Jun 24, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 69.23077% with 4 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
lib/sys/linux/cgroup.ex 33.33% 2 Missing ⚠️
lib/sys/linux/nss.ex 80.00% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

Replace single-point example tests with StreamData properties for the laws
they only spot-checked:
- Unit prefix scaling + truncating accessors (full signed domain)
- Hard.State bump/cut inverse + additive accumulation + track/untrack round-trip
- Cgroup.versions_from_mounts set/order/dedup laws
- Nss passwd/group parser round-trip + rejection laws
- NodeState.fits?/2 monotonicity (kept boundary examples alongside)
@github-actions

Copy link
Copy Markdown

Test Results

158 tests   158 ✅  2s ⏱️
 30 suites    0 💤
  2 files      0 ❌

Results for commit 9939cd8.

@markovejnovic markovejnovic merged commit ae0131d into main Jun 24, 2026
5 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.

1 participant