New answers tagged mocks
3
votes
Accepted
Swift: Mocking a REST API-request
The problem with the fetchPeople() method (and others like it) is that they are all virtually identical but every time you need to consume a new endpoint, you have ...
Top 50 recent answers are included
Related Tags
mocks × 67unit-testing × 49
java × 15
c++ × 14
c# × 10
python × 8
php × 6
swift × 5
beginner × 4
junit × 4
phpunit × 4
go × 3
wrapper × 3
javascript × 2
object-oriented × 2
c++11 × 2
json × 2
f# × 2
rubberduck × 2
integration-testing × 2
protocols × 2
just-mock × 2
python-3.x × 1
sql × 1
design-patterns × 1