但是当您回放性能测试来模拟用户去产生装载时,您可能不希望使用相同的URL和请求参数来回放。
But when you play back the performance test to generate load with many simulated users, you may not want the same URLs and request parameters played back.
对 Rails 应用程序控制器进行测试的目的是,确保来自 Web 浏览器的所有请求都根据用户的输入得到了符合预期的响应,并产生适当的状态修改。
Testing the Rails application controllers aims to ensure all requests coming from the Web browser are answered as expected, based on the user input, while producing the appropriate state changes.
应用推荐