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
{{ message }}
Repository navigation
How should I test Body Binding in my application? #2526
I do not think there is magic bullet here. Just copy/paste testcase for each handler with invalid body. ala {. Probably designing something generic/etc here is not worth the complexity/time/effort. My experience is that I spend multiple orders of magnitude more time in application "business" layer than meddling with handlers and their tests.
Activity
aldas commentedon Oct 11, 2023
I do not think there is magic bullet here. Just copy/paste testcase for each handler with invalid body. ala
{. Probably designing something generic/etc here is not worth the complexity/time/effort. My experience is that I spend multiple orders of magnitude more time in application "business" layer than meddling with handlers and their tests.