Summary of What Needs to be Done:
Add unit tests for the helper functions in scripts/plugin_health_dashboard.py: safe_relative_path and discover_plugins. These functions handle safe path resolution and plugin directory traversal for the health dashboard.
Changes that Need to be Made:
- New file: testing/backend/unit/test_plugin_health_dashboard.py
- Test safe_relative_path (returns relative path, rejects traversal attempts)
- Test discover_plugins (finds all plugin directories under plugins/)
Impact that it would Provide:
- Prevents path traversal vulnerabilities in the dashboard script
- Ensures plugin discovery handles empty directories and edge cases
- Improves dashboard reliability
Note: This task is being handled by tmdeveloper007 — please assign to that account when picking it up.
Summary of What Needs to be Done:
Add unit tests for the helper functions in scripts/plugin_health_dashboard.py: safe_relative_path and discover_plugins. These functions handle safe path resolution and plugin directory traversal for the health dashboard.
Changes that Need to be Made:
Impact that it would Provide:
Note: This task is being handled by tmdeveloper007 — please assign to that account when picking it up.