Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nrook
on March 22, 2025
|
parent
|
context
|
favorite
| on:
Don't Be Afraid of Types
Run a fake version of the API server, and then connect the real client to it. It is usually a mistake to make the "unit" of your unit test too small.
kdps
on March 22, 2025
[–]
In this case, API does not refer to client/server. The API of the aforementioned static class is the set of its methods and their signatures.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: