Enhance the CWL schema validator to cover additional validation scenarios and improve error handling. Create unittests to ensure robust validation and achieve 100% code coverage.
Tasks:
Extend the CWL schema validator:
Validate that 'hints' are defined as a list.
Improve error handling to accumulate and report multiple validation errors.
Write unittests for the extended schema validator:
Add fixtures for invalid CWL files (e.g., non-list hints).
Create tests for each new validation scenario.
Ensure all edge cases are covered.
Ensure 100% code coverage for the schema validator.
Enhance the CWL schema validator to cover additional validation scenarios and improve error handling. Create unittests to ensure robust validation and achieve 100% code coverage.
Tasks:
Extend the CWL schema validator: Validate that 'hints' are defined as a list. Improve error handling to accumulate and report multiple validation errors. Write unittests for the extended schema validator: Add fixtures for invalid CWL files (e.g., non-list hints). Create tests for each new validation scenario. Ensure all edge cases are covered. Ensure 100% code coverage for the schema validator.