What to name a mock injector/expectation setup interface for end to end tests?
I am writing an interface into our system that will allow end to end tests 开发者_如何学Pythonto change the behaviour of the server in order to run through various automated test scenarios.
This interface will only be enabled in test-mode.Things like; Given the booking service is down When I try book a trade Then I see the booking failure message
I have done this sort of thing on previous projects but have never seen a 'nice' (concise, descriptive) name for the server-side testing service you use to set up these scenarios.
The best names I have so far are MockInjector, TestSetupInjector, ServerTwiddler.
Is there a more standard name out there?The standard terminology used is Test Hook
精彩评论