> I noticed that the XUnit-based tests for the EntityFramework 7 show the progress
> bar at 100% green from the get go. I'm assuming that's a bug, although not sure
> if it's XUnit related or VS2015 related.
>
Alas this is xUnit related. The xUnit test runner knows how many test
classes there are but not how many tests (before execution completes).
TestDriven.Net's progress bar needs to know how many tests there are
for the progress bar to work.
Unfortunately fixing this in an elegant way would involve disruptive
changes to both TestDriven.Net and xUnit. This is aggravated by the
fact they're distributed independently and there is a large deployed
base of both.
It might be possible to come up with some heuristic so the xUnit test
runner can guess the total number of tests remaining based on the
number of tests/test classes executed and the test classes remaining.
I think this is kind of how the windows installer progress bar works
(which is why it jumps around a lot).
Regards,
On 20 February 2015 at 10:56, Michael Ketting