Automated Testing Tools

This section will explain how to use the automated reporting tools

Installing Python Libraries required for reporting examples

To use the automatic reporting examples also jinja2 (http://jinja.pocoo.org/docs/2.10/) and weasyprint (https://weasyprint.org/) is required. On the latest motorcortex RTOS images jinja2 and weasyprint are already pre-installed, so the scripts can also run directly from the controller.

To run from a Linux (Debian/Ubuntu) desktop the required libraries must be installed:

via apt:

sudo apt install python3-jinja2 weasyprint

or via pip:

sudo pip3 install jinja2 weasyprint

Then go to the motorcortex-python-tools git repository to find examples of how to use scripting to automate your testing: (https://git.vectioneer.com/pub/motorcortex-python-tools).