I want to write unit tests for the Revit addin I created using Revit 2020.
I used xUnit and implemented test cases but it is failing as it needs Revit application to run.
I've checked the Revit.TestRunner, RevitTestFramework projects for unit test they don't work for Revit 2020, and I want to implement test in my project.
Is there a way to implement unit tests for Revit addin.
Patrick Fernback and Corey Smith did a presentation on this topic and testing methodologies in general at AU Las Vegas last month. Perhaps some of their material will be valuable to you.
Link to Content
Have you read the answer above?
It basically says it all.
Furthermore:
https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.16
Thank you very much for the pointer to the AU class! I added it to the blog to enhance visibility:
Can't find what you're looking for? Ask the community or share your knowledge.