在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):camiloribeiro/cucumber-gradle-parallel开源软件地址(OpenSource Url):https://github.com/camiloribeiro/cucumber-gradle-parallel开源编程语言(OpenSource Language):Gherkin 85.9%开源软件介绍(OpenSource Introduction):Cucumber Gradle Parallel ExampleThis is just an example of cucumber jvm running several features in parallel on gradle. This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. In this example you will find:
The current example run over 47 seconds of testing in a bit more than 5 seconds. It also generates a report in another couple of seconds. The features used in this exercise are just features with bare sleep inside its steps. It is just to show that it is actyally running simultaneusly. You can check other implementations that also try to run in parallel here:
The report used is:
Besides the basic configuration, it is not very useful :) Try itMake sure you have java installed and gradle https://gradle.org/ Clone the repository:
Run in sequence, the usual way:
Check the total time in the output. Now, run it in parallel:
Check the report in the output. Add a file:// + output in your browser, example file:///Users/camilo/cucumber-gradle-parallel/build/reports/cucumber/cucumber-html-reports/overview-features.html Have fun. LICENSECopyright 2015 - 2017 Camilo Ribeiro [email protected] This file is part of Cucumber-gradle.parallel. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论