How to perform automatic testing

How to perform automatic testing

KM_Yotsuha
Advocate Advocate
343 Views
2 Replies
Message 1 of 3

How to perform automatic testing

KM_Yotsuha
Advocate
Advocate

I developed a plugin which convert cad lines into pipes ;

I tested 9 dgw files,the result is ok;

but in the 10th dwg,I found some error and made some adjust in my code;

To ensure no new bugs are introduced after that modification,I have to re-test the privious 9 dwg files.

 

Is there a way that the test can be done automaticly?

For a method,I can use unitTesting,how can I test a plugin like a method?

0 Likes
Accepted solutions (1)
344 Views
2 Replies
Replies (2)
Message 2 of 3

jeremy_tammik
Alumni
Alumni
Accepted solution

I already suggested to you repeatedly to perform some searches before raising a new question.

  

The minimum places to quickly and routinely check are the Revit API documentation, the Revit developers guide, the Revit SDK samples, this forum, The Building Coder, and a generic Internet search. In this case, the official Revit API stuff will not be of much use, afaik, but you will find lots of help from previous discussions here in the forum and from The Building Coder. It dedicates an entire topic group to this question, Unit Testing:

  

https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.16

  

I hope this helps. 

  

Please always conduct some minimum search yourself before raising a new question.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 3 of 3

KM_Yotsuha
Advocate
Advocate

thank you~~I will do more research next time~~

0 Likes