On the xUnit website it says the following about constructor:

> 
> xUnit.net creates a new instance of the test class for every test that
>  is run, so any code which is placed into the constructor of the test
>  class will be run for every single test. This makes the constructor a
>  convenient place to put reusable context setup code where you want to
>  share the code without sharing object instances (meaning, you get a
>  clean copy of the context object(s) for every test that is run).
> 
> 
> 

I have the following code:

```
public class ProfilePageTest
{
    public ProfilePageTest(Role role) 
    {
        AuthRepository.Login(role)
    }

    [Theory]
    [Roles(Role.Editor, Role.Viewer)]
    public void OpenProfilePageTest(Role role)
    {
        var profile = GetPage<ProfilePage>();
        profile.GoTo();
        profile.IsAt();
    }
}

```

Is it possible to pass the role from the theory attribute to the constructor, so I don't have to do `AuthRepository.Login(role)` in every test method that I have.