我目前正在从事一个项目,该项目在我开发的 Web 应用程序上测试某些功能。它工作得很好,但我需要并行运行这些功能来争取时间。
通过更改“testThreadCount”属性,我可以并行运行我的测试。我的问题是:我的功能是独立的,但我的场景不是。例子:
Feature: Test sql insert
Scenario: 1 - Insert client on the database
Given I insert my credentials
And I insert some data on my sql database
Then my client gets inserted succesfully
Scenario: 2 - Check if client exists
Given The above scenario is succesful
And I log in on my web application
When I'm on the dashboard
Then The client should be there
有没有办法只并行运行我的不同功能?当我点击“运行选定的测试”时,它会优先考虑完整的功能而不是不同的功能。在运行下一个场景之前,我需要等待第一个场景完成
慕沐林林
一只甜甜圈
相关分类