I'm in the process of implementing Speckle's xUnitRevit in my project. It seems to work quite well. It functions as a Revit Plugin that allows you to run your unit tests from inside Revit. I can see if my unit tests passed or failed, but I think that is all the information I can get returned to me. I don't think there is a way to debug the tests, and figure out why they might have failed. I guess I can create an error log, but it would be nice to be able to debug this somehow. Any thoughts from the community?
Solved! Go to Solution.
Solved by ricaun. Go to Solution.
I never used Speckle's Unit Test but I am pretty sure if you start the Debug in Visual Studio that gonna open a new Revit in a Debug state and then run some tests using the Test Runner.
If some exceptions happen, Visual Studio gonna stop Revit and try to show in the code the problem, or if you add some breakpoint the same thing gonna happen.
Yes, you are correct. It actually does allow me to debug the xUnitRevit if I do this.
Can't find what you're looking for? Ask the community or share your knowledge.