-
Notifications
You must be signed in to change notification settings - Fork 0
[FEAT] - Improve test coverage and refactor assertions with Verify #9
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestgithub_actionsPull requests that update GitHub Actions codePull requests that update GitHub Actions codegood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededjavascriptPull requests that update javascript codePull requests that update javascript codequestionFurther information is requestedFurther information is requested
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgithub_actionsPull requests that update GitHub Actions codePull requests that update GitHub Actions codegood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededjavascriptPull requests that update javascript codePull requests that update javascript codequestionFurther information is requestedFurther information is requested
Is your feature request related to a problem? Please describe.
The current test suite lacks comprehensive coverage in several areas, and existing test assertions could be more maintainable. Many assertions are overly specific, making tests brittle when implementation details change. This makes it harder to refactor code with confidence.
Describe the solution you'd like
Expand and improve the test coverage while refactoring assertions to be more generic and maintainable using the Verify library's snapshot testing approach:
AvaloniaXKCD.TestsXKCDCore,ExplainXKCDClient.cs)VerifierSettingswith build actions that run assertions on snapshot output. https://github.com/dylanlangston/Axkcd/blob/master/src/AvaloniaXKCD.Tests/Verify/Plugins/VerifyAssertionsPlugin.csDescribe alternatives you've considered
No response
Additional context
Acceptance Criteria:
VerifierSettings