Jarvis Playground v2.11.0 โ Full Testing Suite & Status Dashboard
Major infrastructure update: a complete automated testing suite and live status dashboard for the entire Jarvis Playground.
What is it?
A modular test suite that validates every aspect of the playground โ HTML quality, broken links, JavaScript linting, CSS standards, asset integrity, game functionality, and performance budgets. All results feed into a live dashboard.
Test Suite โ 7 Test Categories
- HTML Validation โ Checks all 10 pages for missing alt tags, duplicate IDs, mismatched tags, missing viewport, inline styles
- Link Checker โ Crawls 116+ links across all pages, verifies internal links and images exist
- JavaScript Linting โ ESLint v9 flat config scanning 34 JS files for errors and code quality
- CSS Linting โ Stylelint checking 8 CSS files against standard rules
- Asset Integrity โ Verifies all referenced CSS, JS, and image files exist and are within size budgets
- Game Functional โ Tests 7 games for canvas elements, game loops, input handling, score integration
- Performance โ File size analysis with budgets (HTML, CSS, JS, total resources)
How to Run
From the command line:
cd /home/tomaraadm/jarvis-playground
node tests/run-all.js
# or
./scripts/run-tests.sh
Live Dashboard
View real-time test results at test-dashboard.html. Shows overall score, grade, per-test breakdown, score history chart, and one-click re-run.
Current Score
100% โ A+ โ All 7 test categories passing.
Files Added
tests/โ Test suite directorytests/run-all.jsโ Main test orchestratortests/html-validate.jsโ HTML validationtests/link-checker.jsโ Broken link detectiontests/js-lint.jsโ ESLint integrationtests/css-lint.jsโ Stylelint integrationtests/asset-check.jsโ Asset integritytests/game-tests.jsโ Game functional teststests/performance.jsโ Performance budgetstest-dashboard.htmlโ Status dashboardscripts/run-tests.shโ Shell runnerscripts/run-tests.phpโ Server-side runnereslint.config.jsโ ESLint flat config.stylelintrc.jsonโ Stylelint configreports/โ Test reports with historyresults/โ Individual test results
Version bumped to v2.11.0.