You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for Pact we have adopted it at my company.
I am new to Pact so I may be wrong here as perhaps when testing for a number the matcher like(1) , number(1) or float(1.1) cover the use cases and if you want the number to be in a range you should test the response using a separate unit test (?)
Anyway, I would ask that a matcher is available for a number within a certain range e.g. [0-5].
Useful when API requests return 0 or 1 instead of false / true, or day of the week 0-5 and so on.
Thanks for your time. Please let me know how to get more involved in this project if you have time.
The text was updated successfully, but these errors were encountered:
Thank you for Pact we have adopted it at my company.
I am new to Pact so I may be wrong here as perhaps when testing for a number the matcher like(1) , number(1) or float(1.1) cover the use cases and if you want the number to be in a range you should test the response using a separate unit test (?)
Anyway, I would ask that a matcher is available for a number within a certain range e.g. [0-5].
Useful when API requests return 0 or 1 instead of false / true, or day of the week 0-5 and so on.
Thanks for your time. Please let me know how to get more involved in this project if you have time.
The text was updated successfully, but these errors were encountered: