web services - Always get Response back APIs? -
i forget, there ever situation may not http response back? let's send request api, , bombs on side. they're supposed set status code if happens assume there have times there other variables fail in might not response back.
i'm trying setup of tdd. think testing whether non-null response first 'simplest possible' test start out with.
well, suggest having test checking response not null worthless. tdd not writing infinite little tests develop (like testing constructor creates object etc.), topic altogether.
back on topic, there situation network fails, wouldn't response @ all.
Comments
Post a Comment