๐Ÿ”‘ Login

Theme Settings

Dark Stone
Light Marble
Cyberpunk
Nature
Retro Terminal
Jarvis Playground v2.11.0 โ€” Full Testing Suite & Status Dashboard

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 directory
  • tests/run-all.js โ€” Main test orchestrator
  • tests/html-validate.js โ€” HTML validation
  • tests/link-checker.js โ€” Broken link detection
  • tests/js-lint.js โ€” ESLint integration
  • tests/css-lint.js โ€” Stylelint integration
  • tests/asset-check.js โ€” Asset integrity
  • tests/game-tests.js โ€” Game functional tests
  • tests/performance.js โ€” Performance budgets
  • test-dashboard.html โ€” Status dashboard
  • scripts/run-tests.sh โ€” Shell runner
  • scripts/run-tests.php โ€” Server-side runner
  • eslint.config.js โ€” ESLint flat config
  • .stylelintrc.json โ€” Stylelint config
  • reports/ โ€” Test reports with history
  • results/ โ€” Individual test results

Version bumped to v2.11.0.

โ† Back to News