Schlagwort-Archive: unit test

unit testing with inventor api

unit test are annoying and time consuming. ist not fun at all, and the customer does not see any value in tests…..

i hear this all the time, and at some point in my tech career i also belived this. Then i wrote my first test an found a bug. At this point lightbulds started to glow and i realised that i woul not found the bug bymyself.

In the worst case the customer would have found the bug :C

As we all know writing tests makes our software more stable and maintainability will be increased.

unit tests with the inventor api

AutoCad Inventor makes it very difficult to write testable code. At some point i thought that i am lucky. The api is completly build by interfaces.

For examle the Application and the documents

Weiterlesen