V6.1 | 2018-06-13
VectorCAST Product Line Training
Software Test Automation for High Quality Software
V6.1 | 2018-06-13
VectorCAST Training Lab Work
Software Test Automation for High Quality Software
V6.1 | 2018-06-13
Lab: Building Test Environments
Software Test Automation for High Quality Software
339
设置工作目录 (File->SetWorkingDirectory)
建议设置为:…/VectorCAST_Training_V6.3_2022/MinGW_WorkDir
创建项目 (File->New->VectorCAST Project->EmptyProject)
输入项目名称 (如TestCampaign)
选择C/C++->VectorCAST MinGW->C (或者C++)作为编译器
设定工程源代码基础路径Base Directory,如…VectorCAST_Training_V6.3_2022/SourceFiles
选择创建
创建结果如下所示:
创建一个VectorCAST项目
练习:构建测试环境
340
一旦项目创建完成,设置高层次的配置选项
> 右击编译器结点(VectorCAST_MinGW_C) 并选择OpenConfiguration
展开Manage结点 (屏幕的右边)
> 添加源文件路径( …/VectorCAST_Training_V6.3_2022/SourceFiles )
> 打开Whitebox,设置为yes
> 设置Coverage Type为None
设置测试用例执行后显示执行报告
> Tools->Options->GUI
> 页面底部,"After Single Test Execution show: Execution Report"
配置一个VectorCAST项目
练习:构建测试环境
- 1
- 2
- 3
前往页