Skip to content

Assert emitted events in all unit tests #169

Description

@phertyameen

Issue #60: Assert emitted events in all unit tests

Category: Testing
Repo: bridgelet-core (Soroban / Rust)

Description

Every unit test that triggers a state change should assert the corresponding event was emitted with correct fields. Use Soroban's env.events().all() in the test harness.

Acceptance Criteria

  • Rust implementation complete
  • cargo test passing
  • Integration test on local Stellar sandbox passing
  • Docs updated (docs/ or inline rustdoc)
  • Reviewed and merged

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions