Skip to content

Releases: Quality-Max/qualitymax-grader

v0.2.0 — Lighthouse for Playwright Test Quality

27 Mar 12:53

Choose a tag to compare

qualitymax-grader v0.2.0

Lighthouse for test quality. Grade your Playwright tests A-F with a single command.

What's New

17 Scoring Checks

  • @playwright/test imports, test structure, assertions, balanced braces, length
  • Navigation, test.step() blocks, meaningful actions, selector stability
  • Anti-patterns: waitForTimeout, test.only(), test.skip(), page.pause(), debugger

Playwright Reporter

// playwright.config.ts
reporter: [['qualitymax-grader/reporter', { minGrade: 'B' }]]

GitHub Action

- uses: Quality-Max/qualitymax-grader@v0.2.0
  with:
    test-dir: 'tests/**/*.spec.ts'
    min-grade: 'B'

Config File (.qualitymaxrc.json)

  • Disable checks, set min-grade default, ignore patterns

Fix Suggestions

  • Every failing check includes a one-line hint on how to fix it

Output Formats

  • --format text (default), json, junit, sarif

89 tests across 6 suites.

Quick Start

npx qualitymax-grader tests/**/*.spec.ts

Zero install. Zero config. Zero API keys.

Links