ipjohnson / SeleniumFixture

Selenium testing fixture for C#
Microsoft Public License
14 stars 6 forks source link

Testrunner shows arguments of a theory wrong #6

Open martijnburgers opened 8 years ago

martijnburgers commented 8 years ago

When having a [SeleniumTheory] the runner shows the arguments of the theory wrong.

[SeleniumTheory]        
[InlineData(1, 2)]//forward swipes
[InlineData(2, 3)]
[InlineData(3, 4)]
[InlineData(4, 3)]//backward swipes
[InlineData(3, 2)]
[InlineData(2, 1)]
public void Swiping_On_The_Dashboard_Should_Navigate_To_Next_Or_Previous_Dashboard(Fixture fixture, int fromDashboardIndex, int toDashboardIndex)
{
    //impl
}

Resharper testrunner

image

Expected result

Swiping_On_The_Dashboard_Should_Navigate_To_Next_Or_Previous_Dashboard  chrome 52.0.2743.116(fixture: fixture.toString(), fromDashboardIndex: 1, toDashboardIndex: 2) [0:00.807] Success

I choose fixture.toString() could be something else as well.

Actual result

Swiping_On_The_Dashboard_Should_Navigate_To_Next_Or_Previous_Dashboard  chrome 52.0.2743.116(fixture: 1, fromDashboardIndex: 2, toDashboardIndex: ???) [0:00.807] Success