Skip to main content

Integration tests should not reuse event_id across types

All of the sample payloads use the same event IDs, so you can’t test different types if your service is aware of duplicate event IDs.

It’d be nice if they were randomized when you switched tabs altogether so you can also test multiple events of each type.

1 comment

Log in to comment and vote

Comments1

  • Marta from Support Team

    Team•

    Feb 2

    Hi there,

    Thank you for your feedback! This is a very useful observation.

    I’ve logged your suggestion to randomize event_ids across different types when switching tabs, so that multiple events of each type can be tested independently. Our product team will review it for future improvements, and we’ll be sure to let you know if this feature is developed.

    We really appreciate you taking the time to help make the integration tests more robust.