That particular attribute has not been ported to v3 yet.
If you only use it in a few places then you could consider using the
following in the interim:
[Test]
[Row("en")]
[Row("fr")]
public void MyTest(string cultureName)
{
Thread.CurrentCulture = CultureInfo.GetCultureInfo(cultureName);
// test code...
}
Yann, how do you feel about implementing MultipleCulture attribute? It's a
bit tricky since I have still not got around to fully generalizing the test
parameter mechanism. Easiest approach for now would be to write a decorator
that runs each test instance within a new test step with a different culture
as specified.
Jeff.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Molivier
Sent: Monday, July 06, 2009 8:43 AM
To: MbUnit.User
Subject: MbUnit Where is MultipleCulture attribute is Mbunit v3 ?
Hi !
I try to upgrade from Mbunit v2.4 to Mbunit 3.0.6 but a lot of attributes
have changed... I can't find a replacement for the MultipleCulture attribute
of 2.4 Version Thanks for your answer.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---