Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add validation tests for "Other" section #818

Merged
merged 1 commit into from
Mar 4, 2025
Merged

Conversation

outerlook
Copy link
Contributor

Description

Implement comprehensive tests for contract address and stream ID validation:

  • Test address format validation (0x prefix, lowercase, valid length)
  • Verify address normalization to lowercase
  • Prepare stream ID validation test structure
  • Add test for preventing duplicate stream IDs within an owner's namespace

Related Problem

How Has This Been Tested?

The tests cover the [OTHER01] and [OTHER02] contract behavior requirements defined in contracts_behaviors.md.

Implement comprehensive tests for contract address and stream ID validation:
- Test address format validation (0x prefix, lowercase, valid length)
- Verify address normalization to lowercase
- Prepare stream ID validation test structure
- Add test for preventing duplicate stream IDs within an owner's namespace

The tests cover the [OTHER01] and [OTHER02] contract behavior requirements defined in contracts_behaviors.md.
@outerlook outerlook requested a review from MicBun March 4, 2025 15:20
@outerlook outerlook self-assigned this Mar 4, 2025
@MicBun MicBun merged commit b161310 into main Mar 4, 2025
3 of 4 checks passed
@MicBun MicBun deleted the chore/other-tests branch March 4, 2025 15:23
Copy link

pr-time-tracker bot commented Mar 4, 2025

@outerlook
⚠️⚠️⚠️
You must submit the time spent on this PR.
⚠️⚠️⚠️

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.

Problem: Stream "Other" behaviors are untested
2 participants