fake stub mock

fake: Alternative real environment, simplified logic

stub: Pure predetermined data can not be changed dynamically

mock: Customizable return

proxy: baffle, can be modified in the original results

spy: listening to call a particular method

Charles

map remote: switching line environment, backup environment or test environment inside Fake different requests -> different results

map local: the request line requests into different local stub Request -> same results

reverse proxy:

 

Guess you like

Origin www.cnblogs.com/godlove/p/11517631.html