Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nrook
· 1y ago · 0 comments
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.
Comments
[–]
kdps
1y ago
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.