specklesystems / xUnitRevit

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

Export test result in xunit xml #14

Open AmeerMansourBeca opened 2 years ago

AmeerMansourBeca commented 2 years ago

have any thoughts on how to automatically export test results?

teocomi commented 2 years ago

Hi @AmeerMansourBeca ! This should be possible since all the result info is accessible, although it's not something on our roadmap.

AmeerMansourBeca commented 2 years ago

okay, can you tell me where to start if I need to implement that? image

will it be in this project? or I should implement it in the runner? i guess it will be in the runner ( option num 1) right?

teocomi commented 2 years ago

I'd suggest looking at the speckle.xunit.runner.wpf project's view models:

https://github.com/specklesystems/speckle.xunit.runner.wpf/blob/master/speckle.xunit.runner.wpf/ViewModel/MainViewModel.cs

From there you should be able to access all the Test and Result information.