mercredi 18 mars 2020

Test that an AWS EventBridge (or CloudWatch) Event Was Fired

I'm running some acceptance tests on a microservice I built in AWS. One of the tests is to assert that the service triggers an EventBridge event, as downstream services will need to subscribe to this event.

My question is, how do I test this in the context of my mircroservice?

I need to just assert that the event was fired. I was hoping the AWS SDK would allow some way of asserting this, but haven't been able to find anything.

Aucun commentaire:

Enregistrer un commentaire