test-junitscript alias we defined for the project, which instructs Mocha/CHai to run our tests and write all test results to an XML file. You would use the same approach with any other testing framework and platform. We have links to documentation for many test automation frameworks on generating the correct file format.
automation:run:submitcommand. This command creates a new automation run, submits all results and then marks the run as completed.
testmotool also supports various other features, such as launching your test automation tool directly to capture the console output, record exit codes and measure test times. You can also submit additional fields, artifacts and links with your test runs. See the full documentation for more details.