specklesystems / xUnitRevit

xUnit runner for Revit
https://speckle.systems/blog/xunitrevit/
MIT License
121 stars 44 forks source link

Test automation #38

Open andreaslennartz opened 9 months ago

andreaslennartz commented 9 months ago

Thanks to @Mehdi-Lucas, who provided a fork that used version 2.7.0, I was able to get it working. Now when starting Revit manually, I am able to load the test dll into the Test runner, and execute the tests. When I attach a debugger, I am even able to debug - which is great so far!

I have one question regarding test automation: Is there are way to load and run the tests via command line (e.g. dotnet test or something else) while Revit is open? I know that the Revit API only can be accessed if Revit is running , so the question is if there is a way to get some test automation set up using this project.? Or to rephrase it a bit differently: What would be the best way if I want to run my tests automated, without manual interaction?

Thanks for your support!