Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use WebApplicationFactory as the base class for Web integration testing. #17497

Merged
merged 5 commits into from
Sep 5, 2023

Update `Testing` document.

16999d6
Select commit
Loading
Failed to load commit list.
Merged

Use WebApplicationFactory as the base class for Web integration testing. #17497

Update `Testing` document.
16999d6
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Aug 29, 2023 in 1s

36.89% of diff hit (target 53.28%)

View this Pull Request on Codecov

36.89% of diff hit (target 53.28%)

Annotations

Check warning on line 37 in framework/src/Volo.Abp.AspNetCore.TestBase/Volo/Abp/AspNetCore/TestBase/AbpWebApplicationFactoryIntegratedTest.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

framework/src/Volo.Abp.AspNetCore.TestBase/Volo/Abp/AspNetCore/TestBase/AbpWebApplicationFactoryIntegratedTest.cs#L35-L37

Added lines #L35 - L37 were not covered by tests

Check warning on line 75 in framework/src/Volo.Abp.AspNetCore.TestBase/Volo/Abp/AspNetCore/TestBase/AbpWebApplicationFactoryIntegratedTest.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

framework/src/Volo.Abp.AspNetCore.TestBase/Volo/Abp/AspNetCore/TestBase/AbpWebApplicationFactoryIntegratedTest.cs#L74-L75

Added lines #L74 - L75 were not covered by tests

Check warning on line 81 in framework/src/Volo.Abp.AspNetCore.TestBase/Volo/Abp/AspNetCore/TestBase/AbpWebApplicationFactoryIntegratedTest.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

framework/src/Volo.Abp.AspNetCore.TestBase/Volo/Abp/AspNetCore/TestBase/AbpWebApplicationFactoryIntegratedTest.cs#L77-L81

Added lines #L77 - L81 were not covered by tests

Check warning on line 84 in framework/src/Volo.Abp.AspNetCore.TestBase/Volo/Abp/AspNetCore/TestBase/AbpWebApplicationFactoryIntegratedTest.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

framework/src/Volo.Abp.AspNetCore.TestBase/Volo/Abp/AspNetCore/TestBase/AbpWebApplicationFactoryIntegratedTest.cs#L83-L84

Added lines #L83 - L84 were not covered by tests

Check warning on line 30 in framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/Auditing/AuditIntegrationServiceTestController_Tests.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/Auditing/AuditIntegrationServiceTestController_Tests.cs#L29-L30

Added lines #L29 - L30 were not covered by tests

Check warning on line 29 in framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/Auditing/AuditTestPage_Tests.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/Auditing/AuditTestPage_Tests.cs#L29

Added line #L29 was not covered by tests

Check warning on line 29 in framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/ExceptionHandling/AbpAuthorizationExceptionTestController_Tests.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/ExceptionHandling/AbpAuthorizationExceptionTestController_Tests.cs#L29

Added line #L29 was not covered by tests

Check warning on line 29 in framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/ExceptionHandling/AbpAuthorizationExceptionTestPage_Tests.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/ExceptionHandling/AbpAuthorizationExceptionTestPage_Tests.cs#L29

Added line #L29 was not covered by tests

Check warning on line 31 in framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/ExceptionHandling/ExceptionTestController_Tests.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/ExceptionHandling/ExceptionTestController_Tests.cs#L31

Added line #L31 was not covered by tests

Check warning on line 31 in framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/ExceptionHandling/ExceptionTestPage_Tests.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/ExceptionHandling/ExceptionTestPage_Tests.cs#L31

Added line #L31 was not covered by tests

Check warning on line 20 in framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/Json/JsonResultController_Tests.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/Json/JsonResultController_Tests.cs#L20

Added line #L20 was not covered by tests

Check warning on line 27 in framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/Json/JsonSerializer_Tests.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/Json/JsonSerializer_Tests.cs#L27

Added line #L27 was not covered by tests

Check warning on line 130 in framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/ModelBinding/ModelBindingController_Tests.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/ModelBinding/ModelBindingController_Tests.cs#L130

Added line #L130 was not covered by tests

Check warning on line 141 in framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/ModelBinding/ModelBindingController_Tests.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/ModelBinding/ModelBindingController_Tests.cs#L141

Added line #L141 was not covered by tests

Check warning on line 45 in framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/Program.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/Program.cs#L11-L45

Added lines #L11 - L45 were not covered by tests

Check warning on line 21 in framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/Security/Headers/SecurityHeadersTestController_Tests.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/Security/Headers/SecurityHeadersTestController_Tests.cs#L21

Added line #L21 was not covered by tests

Check warning on line 128 in framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/Validation/ValidationTestController_Tests.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/Validation/ValidationTestController_Tests.cs#L128

Added line #L128 was not covered by tests

Check warning on line 10 in framework/test/Volo.Abp.AspNetCore.Tests/Volo/Abp/AspNetCore/Program.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

framework/test/Volo.Abp.AspNetCore.Tests/Volo/Abp/AspNetCore/Program.cs#L6-L10

Added lines #L6 - L10 were not covered by tests