[RowTest] was renamed to [Test] in v3. The rows still won't show up in the GUI but they will show up in the results. This is true in general of all of the data-driven testing features at the moment.
The reason is that to show the rows in the GUI we would have to evaluate them all up front. This isn't a big deal for rows because they are compile-time constants but imagine a case where a database table is used to contain rows of test data. In that case, we would force all of the data to be loaded from the database up front. It could take a while. Moreover the contents of the db could change between the time when the tests were explored and when they ran. The situation is worse for user-defined [Factory] data sources. As a result, the test tree in Icarus only shows the test structure rather than all show test instances. Jeff. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of avi404 Sent: Thursday, April 23, 2009 10:33 AM To: MbUnit.User Subject: MbUnit Icarus unable to display rowtest as visible in MBUnit.GUI.exe(ver 2.4.197) Hello everyone, I have started trying out mbunit v3 (w/Icarus) in the last few days. One of the key issues that I am running into is that Icarus is unable to span out all the rowtests in the GUI. For example, in my current 2.4.197 setup: I have rowtest like this: [Row("Param1", "Param2")] [Row("Param3", "Param4")] [RowTest] public void TestCase(string p1, string p2) Seems like rowtest is not supported in v3, so I just changed the above to: [Row("Param1", "Param2")] [Row("Param3", "Param4")] public void TestCase(string p1, string p2) Now, on loading the test dll into Icarus, I only see one test case: TestCase. , as opposed to 2.4.197 GUI that showed all the rowtests: TestCase(param1, param2) TestCase(param3, param4) Is this intentional? Or am I missing something here? Checked the group message and documentation but unable to find something useful on this. Thanks for your help in advance. Cheers --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MbUnit.User" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MbUnitUser?hl=en -~----------~----~----~----~------~----~------~--~---
