你可以使用每行包含多个元素的数据池,但是用户必须在这个测试的自定义代码中增加一些功能来取出单个元素。
You can use data pools that contain multiple elements per line, but the user would have to add functions to the test's custom code to extract individual elements.
您可以在组件中添加自定义代码,以监视通过模块的数据流,但在这些情况下,您会发现使用集成测试客户端中的附加模式更容易。
You could add custom code in the components to monitor the data flow through your module, but you might find it easier in these cases to use the attach mode in the integration test client.
数据驱动测试是一项单个测试脚本使用不同的输入和响应数据被重复地执行的技术,这些数据来源于一个预定义的数据集。
Data-driven testing is a technique where a single test script is used repeatedly with varying input and response data that comes from a predefined data set.
应用推荐