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

出力するログを検証する単体テストを追加 #815

Merged

Conversation

tsuna-can-se
Copy link
Contributor

No description provided.

@tsuna-can-se tsuna-can-se self-assigned this Feb 15, 2024
@tsuna-can-se tsuna-can-se added the target: ConsoleAppWithDI コンソールアプリケーションの要件別サンプルに関係がある label Feb 15, 2024
Copy link

Test Result 📝

Test was a success.
Completed in 8781ms with 111 passed, 0 failed and 0 skipped.

Coverage 📐

Summary
Generated on: 02/15/2024 - 07:43:32
Coverage date: 02/15/2024 - 07:43:26 - 02/15/2024 - 07:43:27
Parser: MultiReport (2x Cobertura)
Assemblies: 3
Classes: 26
Files: 26
Line coverage: 90.5% (433 of 478)
Covered lines: 433
Uncovered lines: 45
Coverable lines: 478
Total lines: 1735
Branch coverage: 89.5% (86 of 96)
Covered branches: 86
Total branches: 96
Method coverage: Feature is only available for sponsors
Tag: 141_7912600481
Maris.ConsoleApp.Core - 95.2%
Name Line Branch
Maris.ConsoleApp.Core 95.2% 95.2%
Maris.ConsoleApp.Core.AsyncCommand`1 100% 100%
Maris.ConsoleApp.Core.CommandAttribute 100% 100%
Maris.ConsoleApp.Core.CommandBase 100% 100%
Maris.ConsoleApp.Core.CommandExecutor 94.5% 83.3%
Maris.ConsoleApp.Core.CommandTypeExtensions 100% 100%
Maris.ConsoleApp.Core.ConsoleAppContext 100% 100%
Maris.ConsoleApp.Core.InvalidParameterException 100% 100%
Maris.ConsoleApp.Core.Resources.Messages 85.9% 100%
Maris.ConsoleApp.Core.Resources.StringExtensions 100%
Maris.ConsoleApp.Core.SuccessResult 100%
Maris.ConsoleApp.Core.SyncCommand`1 100% 100%
Maris.ConsoleApp.Hosting - 91.5%
Name Line Branch
Maris.ConsoleApp.Hosting 91.5% 93.1%
Maris.ConsoleApp.Hosting.CommandParameterTypeCollection 96.9% 100%
Maris.ConsoleApp.Hosting.ConsoleAppContextFactory 96.4% 85.7%
Maris.ConsoleApp.Hosting.ConsoleAppHostedService 100% 100%
Maris.ConsoleApp.Hosting.ConsoleAppProcess 0%
Maris.ConsoleApp.Hosting.ConsoleAppSettings 100%
Maris.ConsoleApp.Hosting.DefaultCommandManager 90% 90%
Maris.ConsoleApp.Hosting.Resources.Messages 69.4% 100%
Maris.ConsoleApp.Hosting.Resources.StringExtensions 100%
Maris.ConsoleApp.Hosting.ServiceCollectionExtensions 100% 100%
Maris.Logging.Testing - 73.9%
Name Line Branch
Maris.Logging.Testing 73.9% 50%
Maris.Logging.Testing.Xunit.TestLoggerManager 84.6% 50%
Maris.Logging.Testing.Xunit.XunitLogger 70.5% 75%
Maris.Logging.Testing.Xunit.XunitLoggerProvider 35.2% 25%
Microsoft.Extensions.DependencyInjection.TestLoggerServiceCollectionExtensi
ons
100%
Microsoft.Extensions.Logging.FakeLoggingBuilderExtensions 100%
Microsoft.Extensions.Logging.XunitLoggingBuilderExtensions 100%

@tsuna-can-se tsuna-can-se added this to the v0.7 milestone Feb 15, 2024
@tsuna-can-se tsuna-can-se linked an issue Feb 15, 2024 that may be closed by this pull request
4 tasks
@tsuna-can-se tsuna-can-se merged commit 3d2d149 into main Feb 15, 2024
6 checks passed
@tsuna-can-se tsuna-can-se deleted the feature/ログ出力に関するテストを追加する branch February 15, 2024 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
target: ConsoleAppWithDI コンソールアプリケーションの要件別サンプルに関係がある
Projects
None yet
Development

Successfully merging this pull request may close these issues.

XunitLoggerFactoryの再構築とFakeLoggerProviderの統合
1 participant