public async Task Should_Get_Settings_With_TestDllFile()
        {
            mockCoverageProject.Setup(cp => cp.TestDllFile).Returns("test.dll");
            mockCoverageProject.Setup(cp => cp.CoverageOutputFolder).Returns("");

            await coverletDataCollectorUtil.RunAsync(CancellationToken.None);

            mockDataCollectorSettingsBuilder.Verify(b => b.WithProjectDll("test.dll"));
        }
예제 #2
0
        public async Task Should_Get_Settings_With_TestDllFile()
        {
            mockCoverageProject.Setup(cp => cp.TestDllFile).Returns("test.dll");

            await coverletDataCollectorUtil.RunAsync(false);

            mockDataCollectorSettingsBuilder.Verify(b => b.WithProjectDll("test.dll"));
        }