为了体会一下功能测试,我们来考虑登录和注册动作涉及的UsersController。
For a taste of functional testing specifics, we consider the case of the UsersController involved in the login and registration actions.
例如,一个Hobo缺省应用会提供用户注册和登录功能;缺省情况下,应用程序包括一个用户模型以及负责注册验证的控制器和视图。
For example, a default Hobo application provides for user signup and login; out of the box an application comes with a user model as well as controllers and views for registration and authentication.
管理员子系统包括管理员登录注册及基本信息查询修改,商品管理,会员管理,交易管理等功能。
Administrators, including sub-system administrators to register and log on to amend the basic information, commodity management, membership management, transaction management function.
应用推荐