简体   繁体   English

如何使用 Incredibuild 分发 gtest 测试执行?

[英]How to distribute gtest tests execution using Incredibuild?

IncrediBuild states about new tests distribution feature. IncrediBuild 说明了新的测试分发功能。 How to use it?如何使用它?

How to distribute gtest tests execution using Incredibuild?如何使用 Incredibuild 分发 gtest 测试执行?

cd <test_dir>

xgconsole /test=gtest /command="<the_test.exe>"

This causes to launch the exe tests on multiple nodes.这会导致在多个节点上启动 exe 测试。

I am not sire if this is still relevant but IncrediBuild has an official unit testing solution so please refer to the following link: https://docs.incredibuild.com/win/latest/windows/ibtestconsole_interface.html?Highlight=gtest如果这仍然相关,我不是父亲,但 IncrediBuild 有官方的单元测试解决方案,因此请参考以下链接: https://docs.incredibuild.com/win/latest/windows/ibtestconsole_interface.html?Highlight=gtest

As you can see, there is a new dedicated command - ibtestconsole in order to invoke the tests.如您所见,有一个新的专用命令 - ibtestconsole 用于调用测试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM