Skip to content
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

Integration Tests for MetadataCheck Class #4

Open
slint opened this issue Mar 3, 2025 · 0 comments
Open

Integration Tests for MetadataCheck Class #4

slint opened this issue Mar 3, 2025 · 0 comments

Comments

@slint
Copy link
Member

slint commented Mar 3, 2025

The MetadataCheck class needs integration tests to verify that it correctly validates configurations, runs checks against records, and produces properly formatted results.

Test Cases to Implement

  1. Configuration Validation

    • Test validation of valid configurations
    • Test validation of configurations with invalid rules
    • Test validation of non-dictionary configurations
    • Test validation of configurations without rules
  2. Check Execution

    • Test running checks with empty rules
    • Test running checks with valid rules
    • Test running checks with rules that have conditions
    • Test running checks with rules that should fail
    • Test that rule evaluation errors are properly handled
  3. Result Generation

    • Test that check results include all necessary fields
    • Test that success is correctly determined based on rule levels
    • Test that rule results are properly formatted
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

No branches or pull requests

1 participant