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

Add unit tests for the Microsoft.Agents.Hosting.AspNetCore namespace #68

Merged
merged 4 commits into from
Jan 27, 2025

Conversation

sw-joelmut
Copy link
Collaborator

Description

This PR creates unit tests to cover the classes in Microsoft.Agents.Hosting.AspNetCore.

Detailed Changes

  • Fixed Logger type in HostedActivityService.
  • Added NullLogger to HostedTaskService.
  • Added 9 test files, each one testing the specified class.

Testing

The following image shows the code coverage of this namespace.
image

@sw-joelmut sw-joelmut requested a review from a team as a code owner January 27, 2025 17:34
@github-actions github-actions bot added ML: Core Tags changes to core libraries ML: Tests Tags changes to tests labels Jan 27, 2025
@tracyboehrer tracyboehrer merged commit 39cdfaf into main Jan 27, 2025
4 checks passed
@tracyboehrer tracyboehrer deleted the southworks/add/hosting-tests branch January 27, 2025 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ML: Core Tags changes to core libraries ML: Tests Tags changes to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants