movement icon indicating copy to clipboard operation
movement copied to clipboard

Check log messages in tests #214

Open demoncoder-crypto opened this issue 8 months ago • 1 comments

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.

demoncoder-crypto avatar Mar 25 '25 20:03 demoncoder-crypto