Tesults integrations for popular test frameworks make it quick and easy to upload test results data. This makes it possible for developers of tests to configure results upload to Tesults in minutes. Developing integrations like this is possible and this page shows you how.
This page is for test framework developers to understand how to create an integration for transmitting test results data to Tesults. Specifically there are two audiences who may be interested in this information:
The general approach for developing an integration is to:
At every step of the way Tesults can help provide guidance, support and answer any questions you have. Please contact help@tesults.com to be assigned a technical consultant.
You can ignore this section if you are developing an integration only for internal use within you organization. Follow steps 1 and 2 of the general approach described above under Develop a test framework integration.
For official integrations to be supported by Tesults we will coordinate what Tesults repositories to utilize and we will publish packages to package mangers using a Tesults signed account.
You can ignore this section if you are developing an integration only for internal use within you organization. Follow steps 1 and 2 of the general approach described above under Develop a test framework integration.
Integrations should meet these minimum requirements. If you have not used a Tesults integration before these requirements may be difficult to understand and it is recommended you take a look at the documentation for an existing test framework such as for Playwright (Node.js) to gain context.
See Tesults JSON data standard for more details about how the target and build arguments are used. How you accept parameters is dependent on how parameters are accepted by your test framework, often this can be via the commandline when running tests or using a configuration file. See an existing test framework integration under Test Frameworks in the menu for an example such as Playwright (Node.js).
If the target token is not supplied, the integration should be disabled and output a message to inform the user results upload is disabled.
Success: true
Message: Success
Warnings: 0
Errors: 0
The Tesults team is here to support integration developers. Contact help@tesults.com for answers to any questions you may have.