Carna

UICulture Attribute

This attribute is used to set the current UI culture during running a fixture.

The available property is as follows.

Property Description
UICulture Specifies a UI culture during running a fixture.

For example:

[UICulture("fr-FR")]
[Specification("LoginAuthentication specification")]
class LoginAuthenticationSpec
{
    ...
}
[Specification("LoginAuthentication specification")]
class LoginAuthenticationSpec
{
    [UICulture("fr-FR")]
    [Example("Login authentication is failed")]
    void Ex01()
    {
        ...
    }
}