Statistics is broken for parametrized tests
Brought to you by:
malange
I use csUnit with parametrized tests, to be more specific I use the DataSource attribute to specify a type that generates the DataRows
[Test]
[DataSource(typeof(Compound_Tests))]
public void AllTestsInFolder(string name, string template)
{ ... }
This all works nicely, but some of the reporting goes wrong. First, the status bar counts every datarow-test as a separate test, but it can't know in advance how many will be generated so it will reach 100% quite soon while al lot of tests are still running. Second, in the statistics tab all tests take 0.000 ms of time and 0.00% of the total (hmm, I just did a test without paramtrized tests the same thing happens there, maybe a separate bug?)