python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Multi services - when to use mocks and stubs?
If say you're building a checkout and your remit is simply to render a confirmation page with usual details, including order number etc.
If you know that there is a service/API/endpoint that you will ...
Paul
Votes: 0
Answers: 1
What's the alternative for a web service/distributed system if it is not using a stub?
I'm currently learning about web services, and if I understood correctly as an example for an RPC, a stub is generated based on a WSDL and the stub converts methods, data etc. into a form that the re...
seer
Votes: 0
Answers: 1
Difference between 'setup' and 'setupSpec' when initialising a Spock stub?
I am confused about stub initialize in setup() and setupSpec(), demo:
class SpockTestSpec extends Specification {
@Shared Service service
@Shared MsgClient msgClient
@Shared QueryResult qu...
Linyy
Votes: 0
Answers: 1