I have submitted an issue.

On 23 Nov, 22:52, "Graham Hay" <[EMAIL PROTECTED]> wrote:
> It seems to be a bug, please raise an issue here 
> -http://code.google.com/p/mb-unit/issues/entry.
>
> 2008/11/19 Joppen <[EMAIL PROTECTED]>
>
>
>
>
>
> > Hi,
>
> > Im using ForEachTest to be able to place my testdata in xml-files. I
> > also use SetUp and TearDown. The tests runt great and everything
> > passes, but right at the end of the test it fails and gives me the
> > following message "parameter count mismatch".
>
> > I can solve this problem by removing the TearDown attribute.
> > [TearDown] and manually using TearDown() instead. Of course I want to
> > keep the TearDown attribute.
>
> > What could be the cause of this problem? Im using MbUnit version 2.4.2
>
> > Some code:
>
> > [DataFixture]
> > [ResourceXmlDataProvider(typeof(MyTests), "Tests.testCases.xml",
> > "Test")]
> > public class MyTests
> > {
>
> >       [SetUp]
> >       public void SetupTest()
> >       {
> >           selenium = new DefaultSelenium("localhost", 4444,
> > "iexplore", "http://localhost/Intasma/";);
> >           selenium.Start();
> >       }
>
> >      [TearDown] // Removing this line makes the problems disappear.
> >      public void TearDownTest()
> >       {
> >           try
> >           {
> >               selenium.Close();
> >               selenium.Stop();
> >           }
> >           catch (Exception) {}
> >       }
>
> >       [ForEachTest("AddFamily", DataType = typeof(AddFamily))]
> >       public void testAddFamily(AddFamily data)
> >       {
> >             // Test here, AddFamily is class for keeping all the
> > xmlnode-information
> >       }
>
> > }
>
> > Thanks for any help.
>
> > Joakim- Dölj citerad text -
>
> - Visa citerad text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to