-
Notifications
You must be signed in to change notification settings - Fork 59
Added unit tests to TechnitiumLibrary #30
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
base: master
Are you sure you want to change the base?
Added unit tests to TechnitiumLibrary #30
Conversation
Signed-off-by: Zafer Balkan <zafer@zaferbalkan.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds comprehensive unit tests for the TechnitiumLibrary, including test infrastructure, GitHub Actions workflow, and test coverage for core library functionality. The PR depends on a related PR #29 being merged first.
Changes:
- Added MSTest-based unit test project with 8 test classes covering core library components
- Configured GitHub Actions workflow for automated test execution on Windows with MSBuild
- Added unit test status badge to README
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| TechnitiumLibrary.sln | Added TechnitiumLibrary.UnitTests project reference to solution |
| TechnitiumLibrary.UnitTests/TechnitiumLibrary.UnitTests.csproj | Created MSTest.Sdk 4.0.1 test project targeting .NET 9.0 |
| TechnitiumLibrary.UnitTests/MSTestSettings.cs | Configured method-level test parallelization |
| TechnitiumLibrary.UnitTests/TechnitiumLibrary/*.cs | Implemented comprehensive unit tests for TaskPool, TaskExtensions, StringExtensions, JsonExtensions, IndependentTaskScheduler, CollectionExtensions, BinaryNumber, and Base32 |
| .github/workflows/unit-testing.yml | Added GitHub Actions workflow for automated testing on push, PR, and weekly schedule |
| README.md | Added Quality Assurance section with unit testing status badge |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Relies on #29 being accepted first