standard-webhooks / standard-webhooks

The Standard Webhooks specification

Home Page:https://www.standardwebhooks.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libraries: implement common set of assertions

zekth opened this issue · comments

Currently every library defines their own set of test data. eg:

We should at least consider a common set of data to be sure all implementations behave the same.

I completely agree, and I think they are different across libraries. Though the two examples you shared look identical to me?

Correct, but that would avoid potential drifting between libraries. Just a thought

Oh, sorry, I misunderstood your suggestion. Yes, I agree, the test suite should use a common set of data, and we should read that and validate the same across all of the libs.