最终,你将创建越来越多的可调用的例行程序来支持测试。
Eventually, you create more and more of these callable routines to support the tests.
相反,他们处理可调用例行程序提供的抽象注册界面。
Instead, they deal with the abstract login interface that the callable routine provides.
你可以在每一个测试程序中通过复制代码来为注册用户编号,或者你可以使它成为一个单一的,可调用的例行程序。
You could copy the code to handle the login into every test program, or you can make it into a single, callable routine.
应用推荐