Skip to content

Add unit tests for various services and components#11

Merged
unrealbg merged 1 commit intomasterfrom
dev
Aug 17, 2025
Merged

Add unit tests for various services and components#11
unrealbg merged 1 commit intomasterfrom
dev

Conversation

@unrealbg
Copy link
Copy Markdown
Owner

Add unit tests for various services and components

PR Classification

Addition of unit tests for various components and services in the BlazorBlog application.

PR Summary

This pull request introduces comprehensive unit tests to ensure the functionality and validation of various components and services within the BlazorBlog application.

  • AllPostsPageTests.cs: Added tests for rendering states and page number changes.
  • BlogPostDetailPageTests.cs: Implemented tests for navigation and post display.
  • BlogPostAdminServiceForwardersTests.cs: Added tests to verify method forwarding to the repository.
  • CategoryServiceTests.cs: Introduced validation tests for category saving and slug generation.
  • ToastServiceAndExtensionsTests.cs: Added tests for toast service functionality and duration handling.

@unrealbg unrealbg merged commit 86631c7 into master Aug 17, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant