License Delivery maintenance is expected to occur on Saturday, November 30, between 8 AM and 11 AM CET. This may cause a short 3-hours outage in which license-related tasks: license key upload, download, update, SSA validation, access to the license pool and Graphisoft ID authentication may not function properly. We apologize for any inconvenience.
Archicad C++ API
About Archicad add-on development using the C++ API.

Unit testing Archicad addon's functions: any experience?

Sam Karli
Enthusiast

I'm about writing my first (start-from a scratch) C++ addon (for Archicad SE 2016, this is what I owe).

I decided to include automated/unit tests, using Boost.test.

I have run into many problems (Test framework is a different Visual Studio project, and how to include/reference the addon project from there).

 

So there are many questions around, is there any tutorial/docs/example project fro AC addon unit testing?

GDL/Python/C++ dev
2 REPLIES 2
Vincent Schmitt BIMm
Contributor

Hello Sam,

Did you fix your problems? Seems like we stumbled upon similar problems.

Sam Karli
Enthusiast

Actually, not 😕

To be true, in the meantime I skipped this issue (not a rarity for unit tests) and nowadays I'm back to deal with these problems.

GDL/Python/C++ dev