waleedev01 / analytics_automated_v2

Middleware layer for exposing analytics and distributed computing jobs as web services
Other
1 stars 0 forks source link

Extend schema validator #75

Closed waleedev01 closed 2 months ago

waleedev01 commented 2 months ago

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.