主要内容

编译和测试自动化

使用之前准备的 Polyspace® 平台工程编译和运行测试

您可以在 Polyspace 平台用户界面中编写测试,但使用 polyspace-test 命令以编程方式编译和运行这些测试。

系统命令

全部展开

polyspace-project -diff, polyspace-project -merge(System Command) Compare and merge Polyspace Platform projects, workspaces, configurations and tests before submission to source control
polyspace-test -build(System Command) Build sources and tests in a Polyspace Platform project
polyspace-test -run(System Command) Run tests in a Polyspace Platform project
polyspace-test -monitor(System Command) Monitor execution of C/C++ xUnit tests and retrieve test and code profiling results
polyspace-test -report(System Command) Generate reports from test or code profiling results
polyspace-test -convert(System Command) Convert test or code profiling results to standard Polyspace Test format
polyspace-test -merge(System Command) Create a single test or code profiling result set from multiple result sets
polyspace-access -upload (Polyspace Access)(System Command) Upload results to Polyspace Access database
polyspace-access -download (Polyspace Access)(System Command) Download results from Polyspace Access
polyspace-test -manage-host-compiler(System Command) List or select host compilers for Polyspace Platform project build
polyspace-test -manage-target-package(System Command) Register, list, configure or otherwise manage target packages for test execution or code profiling on targets
polyspace-test -check-target-package(System Command) Check connection to target before test execution
polyspace-test -manage-addon(System Command) Install or list add-ons for use with Polyspace Test
polyspace-test -generate(System Command) Generate test registration function from a set of Polyspace Test C/C++ test files
polyspace-test -version(System Command) Display Polyspace Test version

主题

Polyspace 平台工程的源代码管理

编译和测试自动化

在目标上运行测试