I think this is a bug with the same root cause as the following: http://code.google.com/p/mb-unit/issues/detail?id=509
Don't expect dynamic tests to show up individually in the VSTT test view. However, we should be aggregating the results and rolling them up. I am planning to work on this issue tomorrow. Jeff. On Aug 23, 12:47 am, Mark Kharitonov <[email protected]> wrote: > Hi Jeff. > Have you got a chance to reproduce the reported behavior? > > On Aug 20, 10:53 am, mark Kharitonov <[email protected]> > wrote: > > > Hi Jeff. > > I have slightly misled you. The dynamic tests do appear in the final Gallio > > report, but only under the details section, not in the summary, which is > > confusing. > > Anyway, here are the steps to reproduce this. > > 1. I assume that you have not deleted the sample code I have emailed you > > before. Well, you may delete the Common and Windows root folders and replace > > them with the ones from the attached zip archive. > > 2. On the command line go to Windows\Infra > > 3. Run msbuild master.proj > > 4. Open the Gallio test report Shunra.Infra.Test.Results.mht created in the > > same folder. > > 5. Observe the Summary section. The Entities test fixture is reported as > > failed, but the summary is all green! One has to browse the Details section > > in order to locate the failed test, which in this case is the last one > > - Dynamic > > RootIsDefined > > > I think this is a bug. > > > While we are on it. There is another problem that tests run from the VS > > TestView are aborted. To reproduce: > > 1. Use the same source code from the previous issue. > > 2. Disable the static test factory StaticTestFactory in file > > Windows\Infra\Shunra.Infra.Test\Entities.cs ( I place Ignore attribute on > > it) > > 3. Switch to the VS Test View - you should see there 4 tests - > > NewEntityUniqueId, ParentChildTypes, RootIsDefined and SpecialRoot. > > 4. Open the context menu on any one of them and choose Run Selection or > > Debug Selection. > > 5. Things start moving, but at the end the test is aborted without any > > explanation whatsoever. > > > Thanks Jeff for your prompt replies. > > > On Thu, Aug 20, 2009 at 5:12 AM, Jeff Brown <[email protected]> wrote: > > > That's still very vague... > > > > Can you give me some repro steps? > > > > Jeff. > > > > ------------------------------ > > > *From:* [email protected] [mailto:[email protected]] > > > *On > > > Behalf Of *Mark Kharitonov > > > *Sent:* Wednesday, August 19, 2009 10:54 AM > > > *To:* [email protected] > > > *Subject:* MbUnit Re: Tests create through static test factory are run, > > > but do not appear in the test report. > > > > Hi Jeff. The Visual Studio Test Tools Test View simply does not work, I > > > emailed you about it earlier today. > > > I am talking about Gallio test report. > > > > On 19/08/2009, at 19:51, Jeff Brown wrote: > > > > Do you mean the Gallio test report or the Visual Studio Test Tools Test > > > View? > > > > Jeff. > > > > -----Original Message----- > > > From: [email protected] > > > [mailto:[email protected]<[email protected]>] > > > On > > > Behalf Of Mark Kharitonov > > > Sent: Wednesday, August 19, 2009 7:32 AM > > > To: MbUnit.User > > > Subject: MbUnit Tests create through static test factory are run, but do > > > not > > > appear in the test report. > > > > Hi. > > > > I have many tests created through a static test factory. I run these tests > > > on the command line using the Gallio task. They are run OK, there are > > > respective outputs to the console, BUT none of them appear in the final > > > test > > > report, including the ones that failed! > > > > Any ideas? > > > > Thanks. > > > > ========================================================================== > > > There are two kinds of people. Those whose guns are loaded and those who > > > dig. > > > *(The good, the bad and the ugly).* > > > So let us raise our cups for our guns always be loaded. > > > -- > > Be well and prosper. > > ============================== > > "There are two kinds of people.Those whose guns are loaded and those who > > dig." > > ("The good, the bad and the ugly") > > So let us drink for our guns always be loaded. > > > ForGallio.zip > > 404KViewDownload > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
