MindStudio Tools Extension Library Development Guide¶
1. Development Environment Preparation¶
For details, see Operator Tool Development Environment Setup Guide.
2. Compilation and Packaging¶
3. Unit Testing¶
You can run UT tests for C/CPP/PYTHON code using a one-click script:
If the output is similar to the following, and the number of run test cases equals the number of passed test cases, it indicates success:
NOTE: You need to install pytest in the environment beforehand to run Python tests. There are multiple independent test suites. If the output results are similar to the example, it indicates successful execution.