-
Notifications
You must be signed in to change notification settings - Fork 766
Description
Current Behavior
The meshery.io website currently has no testing infrastructure. The package.json test script outputs "Error: no test specified" and there are no unit tests, HTML validation, or CI workflows for testing.
Desired Behavior
Add a testing framework to improve code quality and catch issues before deployment:
JavaScript Unit Testing: Add Jest to test utility functions in blog-search.js (slugify, escapeRegex, highlightText, debounce, search functions)
HTML/Link Validation: Add html-proofer gem to validate internal links and HTML structure
CI Integration: Add GitHub Actions workflow to run tests automatically on PRs
Makefile Targets: Add convenient commands like make test, make test-js, make test-html, make setup
This would help catch bugs in search functionality and broken links before deployment, and improve the contributor experience.
Screenshots / Mockups
N/A - This is a developer tooling enhancement.
I'd be happy to work on this if a maintainer approves. Please assign this to me if it looks good!