Speckle Blog / xUnitRevit: a test runner for Revit

Unit tests are one of those things in life that you try to avoid for as long as you can but, eventually, you surrender to and start to accept. With the release of Speckle 2.0 we're aiming at >90% test coverage, and we are doing everything we can to get there. This is why we developed a set of open source tools to help us run unit tests inside Revit.


This is a companion discussion topic for the original entry at https://speckle.systems/blog/xunitrevit
2 Likes

Yay, we got comments now :slight_smile:

1 Like

Great stuff. There and back again :smiley:

Very nice stuff, thank you! Will do some testing with this in the future. For now, one very minor comment: several links in the blog are not working because they contain an h to much in the beginning (so hhttps instead of https).

2 Likes

Thanks for reporting! Guess that was a find and replace fail on my end :slight_smile: fixed!

2 Likes

Thank you very much for this guys, I have been using xUnit for the last couple of weeks and it works great. I wasn´t doing any unit testing until now but thanks to this tool all the stuff I am developing for Revit is much more stable and reliable.

2 Likes

So glad you’re finding it useful Palatino! Unit testing can be a bit tedious sometimes, but it definitely helps you push changes with confidence and saves time in the long run :sparkles:

2 Likes