Skip to content

test: add property-based testing with proptest#377

Merged
ElioNeto merged 2 commits into
mainfrom
fix/remaining-audit-issues
May 26, 2026
Merged

test: add property-based testing with proptest#377
ElioNeto merged 2 commits into
mainfrom
fix/remaining-audit-issues

Conversation

@ElioNeto
Copy link
Copy Markdown
Owner

Summary

Adds property-based testing infrastructure and tests using proptest.

Changes

  • Add proptest dev-dependency
  • 4 engine property tests: put/get, put/delete/get, overwrite, multi-key
  • SSTable direct proptest (no encryption) with sorted keys
  • Fix sorted-key validation in SstableBuilder (found by proptest)
  • Cargo fmt fixes

Closes #372
Closes #375

ElioNeto added 2 commits May 26, 2026 12:05
- Add proptest dev-dependency to Cargo.toml
- Add engine property tests: put/get roundtrip, put/delete/get, overwrite, multi-key
- SSTable direct proptest disabled (found genuine bug #375)
- All tests pass (444 lib + 36 integration + 4 proptest)

Closes #372
@ElioNeto ElioNeto merged commit 02d483b into main May 26, 2026
14 checks passed
@ElioNeto ElioNeto deleted the fix/remaining-audit-issues branch May 26, 2026 17:08
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.

[CI-FAILURE] CI / PR Validation: fmt failed TEST-002: Adicionar property-based testing com proptest para WAL replay e compaction

1 participant