准备测试编写
解析源代码以准备编写测试,查找并更新测试
创建 Polyspace® 平台工程并添加源代码后,解析代码以提取编写测试所需的所有信息。当工程中存在图形化测试后,您可以使用代码资源管理器等工具查找给定函数的现有测试。
主题
测试编写快速入门
- 在 Polyspace 平台用户界面中指定用于测试的 C/C++ 编译器
指定支持的编译器以进行初始代码分析和测试编译。 - Parse Source Code for Auto-Populating Test Information in Polyspace Platform User Interface
Create a database of functions, dependencies, inputs, and more, for auto-populating information during test authoring.
更新现有测试
- Find Existing Tests for Function in Polyspace Platform User Interface
Find which tests are calling a function in Polyspace Platform user interface. - Update Tests in Polyspace Platform User Interface
Remap code under test and auto-update variables to latest type definitions.