开发者

What to name a mock injector/expectation setup interface for end to end tests?

开发者 https://www.devze.com 2023-03-26 15:24 出处:网络
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.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号