UnitTesting from a gitLab CICD Pipeline

0
Hello Dear Community, we want to execute our unit tests from our gitLab pipeline and we are not quite sure, if this task is possible.  An execution from a pipline needs the possibility to start the unit test from command line by starting a command or a script with instructions that executes the UnitTesting Suite.  We read this part of the documentation https://docs.mendix.com/howto8/integration/implement-cicd-pipeline which explains how to configure and start a CICD pipeline from the Mendix Cloud using the Mendix API.  Is a equal scenario possible, but this time from a private gitLab CICD pipleine (without using the Mendix Cloud via REST. Only execution from the cicd gitLab pipline)?    Thank you very much in advance for your support and help.   Best regards, Stephan franke
asked
1 answers
0

Hi Stephan,

 

The documentation of the unit tests have the following about remote execution of the tests: https://docs.mendix.com/appstore/modules/unit-testing/#using-the-remote-api

I guess you can craft a REST request in your Gitlab CI for initiating and then one for retrieving the status. 

 

Good luck, 

Jurre

answered