& Construction
![architecture engineering and construction collection logo](https://damassets.autodesk.net/content/dam/autodesk/www/universal-header/flyout/architecture-engineering-construction-collection-uhblack-banner-lockup-364x40.png)
Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
& Manufacturing
![product design manufacturing collection logo](https://damassets.autodesk.net/content/dam/autodesk/www/universal-header/flyout/product-design-manufacturing-collection-uhblack-banner-lockup-364x40.png)
Professional CAD/CAM tools built on Inventor and AutoCAD
Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
Professional CAD/CAM tools built on Inventor and AutoCAD
Hello everyone, after some years of development my Test framework for Revit API is released.
ricaun.RevitTest is a multi-version NUnit testing framework for Revit API. Support Revit 2019 to 2025.
Features:
The whole project is open-source with all the utility packages.
The best way to start is download the sample project.
For help and discussion:
Wow, brilliant! Thank you ever so much, @ricaun ! I wish you a happy and peaceful midwinter break!
Coming from AUTOCAD/Civil 3D ( and writing plugins for Civil 3D), that's really great!
Any chance that you will port this to Civil 3D as well?
I don't have the incentive to port to AutoCAD/Civil, the whole project does not worth, only if you create a command line application to use AutoCAD and make the test adapter to use that application.
That's already implemented in the TestAdapter, so I can change some configuration and run tests using Design Automation for Revit instead of the Revit desktop version.
That was the main goal of the project to enable to run locally with Revit for Desktop or in the cloud using Design Automation with the same test input.
Anyway you could create a discussion in the https://github.com/ricaun-io/ricaun.RevitTest/discussions.
I don't have so much knowledge with AutoCAD API to be able to find the similar implementation from Revit API to AutoCAD API.
Probably the first one would be to create a command line application to run tests in Design Automation for AutoCAD, that is less complex and not require to find AutoCAD in the local machine.
Using this package that already support Design Automation for AutoCAD: https://github.com/ricaun-io/forge-api-dotnet-oss.design.automation
Is the same one I'm using in the https://github.com/ricaun-io/ricaun.DA4R.NUnit to run tests using Design Automation for Revit. (The repo is in private at the moment.)
In the end you could sponsor the project, that's a good incentive. 🤘
Hi @ricaun ,
thank you very much for implementing and sharing this great tool!
I have one quick questions: I assume that you are aware of and have evaluated the Dynamo Revit Test Framework (RTF):
Can you confirm that, please, and possible share a word or two on what advantages ricaun.RevitTest offers over and above RTF and other prior unit testing frameworks?
Muito obrigado!
Jeremy
Hey @jeremy_tammik
The Dynamo Revit Test Framework (RTF) looks abandoned in GitHub and I don't think works with Revit 2025 that uses .NET Core.
Using ricaun.RevitTest is really convenient to be able to execute tests inside Visual Studio Test Explorer.
Some ricaun.RevitTest features would be:
About running tests using Design Automation for Revit, I have a class session in DevCon Europe this year about ricaun.RevitTest.
Gonna share everything in my youtube channel.
Brilliant! Thank you very much for the very helpful and detailed in-depth explanation!
Good luck with your class at DevCon; sounds great!
Thanks for sharing, I appreciate it.
How to buy
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © 2025 Autodesk Inc. All rights reserved
Type a product name