Skip to content

test: expand property test arbitraries#191

Merged
1nonlypiece merged 2 commits intoDisciplr-Org:mainfrom
Smartdevs17:task/fixtures-arbitraries
Apr 1, 2026
Merged

test: expand property test arbitraries#191
1nonlypiece merged 2 commits intoDisciplr-Org:mainfrom
Smartdevs17:task/fixtures-arbitraries

Conversation

@Smartdevs17
Copy link
Copy Markdown
Contributor

@Smartdevs17 Smartdevs17 commented Mar 27, 2026

Summary

  • Expands fast-check arbitraries for property-based testing with comprehensive test coverage
  • Adds rich generators for ProcessedEvent, FailedEvent, ListenerState, Milestone, Validation entities
  • Adds additional utility arbitraries: organizationId, teamId, userId, contractAddress, horizonUrl
  • Adds edge case generators: event sequences, vault event sequences, edge case amounts, status transitions
  • Adds observability with logging functions (setArbLogEnabled, logArbGeneration)
  • Increases test coverage to 96%+ for arbitraries.ts

Test Output

All 52 tests pass:

Test Suites: 1 passed, 1 total
Tests:       52 passed, 52 total

Coverage for arbitraries.ts: 96.63% lines (exceeds 95% requirement)

Closes #150

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 27, 2026

@Smartdevs17 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

- Add comprehensive tests for all arbitraries generators
- Fix Stellar address generator to produce valid addresses
- Increase coverage to 98%+ for arbitraries.ts

Closes Disciplr-Org#150
@Smartdevs17 Smartdevs17 force-pushed the task/fixtures-arbitraries branch from 62f09a5 to c5e4a3e Compare March 27, 2026 13:31
@1nonlypiece 1nonlypiece merged commit ac75ad0 into Disciplr-Org:main Apr 1, 2026
1 check failed
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.

Fixture arbitraries: expand for property tests

2 participants