Skip to content

Conversation

@demoncoder-crypto
Copy link

In the enhance/improve-error-testing branch, I have tried to improve the validation of error messages in tests by adding a check_error_message helper function, updating existing tests to use the match parameter with pytest.raises, and creating a demonstration file showing recommended testing approaches. This ensures consistent error verification across the codebase and prevents tests from passing with incorrect error messages.

@sonarqubecloud
Copy link

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