Rank: Member
Groups: Registered
Joined: 8/31/2015(UTC) Posts: 18 Location: Lithuania
Thanks: 6 times Was thanked: 2 time(s) in 2 post(s)
|
Hi I'm using AutoData to parameterize my XUnit test, e.g. Code:
[Theory]
[DefaultAutoData(-4, "0")]
[DefaultAutoData(0, "0")]
[DefaultAutoData(1862, "5+")]
[DefaultAutoData(5000, "5+")]
public async Task ExportsEndOfLifeColumn(
double endOfLifeDaysFromNow, string expected,
[Frozen] EquipmentListModel model,
[Frozen] IFeatureProfile featureProfile,
DeviceRendition item,
IReportRenderer<EquipmentListModel, DeviceRendition> renderer,
ExportEquipmentListBuilder sut)
{
.......
}
NCrunch shows 1 test name ExportsEndOfLifeColumn, while Reshaprer test runner shows 4 test in this case. NCrunch shows 1 test and puts 4 test output. Screenshots: vs With Resharper I can easy see what test case fails, while with NCrunch I need to "smoke" very long console log.
|