Testing RFEM-Python-Client code without RFEM running #262
-
Hey all! Is there any way (or intention to add a way) to unit test implementations of the RFEM Python Client without having to run RFEM? Or is that even a meaningful test in your eyes then? Asking because we're writing a bunch of functionality around the RFEM Python API and I would like to unit test that code (very basic sanity checks) in our Gitlab pipelines. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @MaximilianFranz, It seems to me that it is not possible to test the objects without creating them and requesting the information about these objects from RFEM. One solution could be to use RFEM6Server for your pipeline to test your functionalities. It is a terminal version of RFEM without UI and therefore it's faster than RFEM6. This process can require a virtual machine which has a RFEM6Server running inside and connected to your GitLab pipeline. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the answer, @dogukankaratas! :) Makes sense! Any hints were I can find setup guidelines for RFEM6Server? Or a special setup within a docker that is easily shipable / deployable to the cloud? Including licensing etc? Thanks already, |
Beta Was this translation helpful? Give feedback.
Hi @MaximilianFranz,
It seems to me that it is not possible to test the objects without creating them and requesting the information about these objects from RFEM.
One solution could be to use RFEM6Server for your pipeline to test your functionalities. It is a terminal version of RFEM without UI and therefore it's faster than RFEM6. This process can require a virtual machine which has a RFEM6Server running inside and connected to your GitLab pipeline.