Das Wissen aller Anwender nutzen

Im Allplan Connect Forum tauschen sich Anwender aus, geben wertvolle Tipps oder beraten sich bei ganz konkreten Aufgabenstellungen − auch international.
Und damit wirklich keine Frage unbeantwortet bleibt, unterstützen die Mitarbeiter des Technischen Supports ebenfalls aktiv das Forum.

Es erwarten Sie:

  • Foren-Vielfalt aus CAD Architektur, CAD Ingenieurbau uvm.
  • Tipps von User für User
  • international: Deutsch, Englisch, Italienisch, Französisch und Tschechisch

Melden Sie sich jetzt an und diskutieren Sie mit!

Zur Registrierung

Python Part Unit testing


hi does anyone have an example on how to write unit tests , the documentation website provides this class : UnitTestInteractor but i couldn't understand exactly how to use it , can someone provide me with an example ? thanks in advance !

Hilfreichste Antwort anzeigen Hilfreichste Antwort verbergen

Hi!

The unit test environment in PythonParts framework is at its early stage now - we are working on it. That is why you can see some classes or functions in the framework, but they are not ready yet to be used with a regular version of Allplan. They are used by us, with a development version, but you as a regular user don't have access to it.

But don't worry, it is our goal to give our 3rd party developers a functional unit test environment. And as soon as we achieve it, we will provide a documentation for it.

Best,
Bart!

Hi!

The unit test environment in PythonParts framework is at its early stage now - we are working on it. That is why you can see some classes or functions in the framework, but they are not ready yet to be used with a regular version of Allplan. They are used by us, with a development version, but you as a regular user don't have access to it.

But don't worry, it is our goal to give our 3rd party developers a functional unit test environment. And as soon as we achieve it, we will provide a documentation for it.

Best,
Bart!