Weekend Project • Free & Open Source

lasTest

Built this over the weekend so I won't break prod.

Visual testing CLI with 4 generation modes: AI-powered, Template, MCP-validated, or Browser Recording. Compares live vs dev environments. Rough edges, but it works. Built it for myself, sharing because you might need it too.

View on GitHub
npx @dexilion/lastest init
╔═══════════════════════════════════════════════════════════════════════════╗
║   /\_/\           █████████████████████████████████████████████████████╗  ║
║  ( o.o )          ╚════════════════════════██╔═════════════════════════╝  ║
║   > ^ <   |\_/|   ██╗      █████╗ ███████╗ ██║ ███████╗███████╗████████╗  ║
║  /|   |\ ( o.o )  ██║     ██╔══██╗██╔════╝ ██║ ██╔════╝██╔════╝╚══██╔══╝  ║
║ (_|   |_) > ^ <   ██║     ███████║███████╗ ██║ █████╗  ███████╗   ██║     ║
║    | |   /     \  ██║     ██╔══██║╚════██║ ██║ ██╔══╝  ╚════██║   ██║     ║
║    |_|  /_______\ ███████╗██║  ██║███████║ ██║ ███████╗███████║   ██║     ║
║                   ╚══════╝╚═╝  ╚═╝╚══════╝ ╚═╝ ╚══════╝╚══════╝   ╚═╝     ║
║                                                                           ║
║                                                 Automated Visual Testing  ║
║                                                         made by Dexilion  ║
║                                                             dexilion.com  ║
║                                                                   v0.3.0  ║
╚═══════════════════════════════════════════════════════════════════════════╝

See It In Action

lasTest CLI Demo - Automated visual regression testing in action

The Problem

We use AI coding tools heavily (mostly Copilot, Claude). One Saturday, an AI-generated UI change broke a site.

Built this over the weekend so we can have better QA without investing in it a lot more time. Rough edges, but it works. Made it free and open source because others probably have the same problem.

What It Does Well

Actually Fast

30 seconds from install to report. Not 30 minutes. Run npx @dexilion/lastest init and you're done.

4 Test Generation Modes

AI Mode: Uses Claude Pro or Copilot (no extra costs).
Template Mode: Simple screenshots (free, no AI).
MCP Mode: Validated selectors (bulletproof).
Recording Mode: Record in browser (full control).

Zero Config

Scans your codebase automatically. Supports Next.js, React Router, Vue Router, static sites. Just point it at your URLs.

Good Enough Reports

HTML with side-by-side diffs. Could be prettier, but they work. Shows you what broke so you can fix it.

Free Forever

MIT license. No usage limits. No freemium bait-and-switch. Good enough for my projects, might be good enough for yours.

Multi-Viewport Testing

Test desktop, tablet, and mobile viewports simultaneously. Generates separate screenshots for each screen size.

What It Doesn't Do (Yet)

This isn't enterprise-grade yet. It's a tool I built for myself that I'm sharing. It has rough edges.

  • ❌ Enterprise features
  • ❌ Advanced test customization (PRs welcome!)
  • ❌ Multiple baselines or complex branching
  • ❌ Team collaboration features
  • ❌ Sometimes the AI generates wonky tests
  • ❌ Error messages could be better

It's a weekend project that solves one problem: catch visual regressions before users do.

Good enough for side projects. Your mileage may vary.

How It Works

1

Run One Command

npx @dexilion/lastest init — that's it! Choose your test generation mode (AI, Template, MCP, or Recording), configure your URLs and viewports.

2

Generate Tests Your Way

AI Mode: Scans routes, AI generates Playwright tests.
Template: Simple screenshot tests (no AI).
MCP: AI + real-time validation.
Recording: Record interactions in browser.

3

Get Visual Diffs

Tests run against live and dev environments across all viewports, capturing screenshots and performing pixel-perfect comparisons. View results in tabbed HTML reports with step-by-step execution details.

Pick Your AI Provider

Works with what you already have. No extra costs.

Claude Pro/Max

$20-200/mo

Included with your Claude Pro or Max subscription

  • CLI authentication
  • Unlimited usage within plan
  • One-time global setup
npm install -g @anthropic-ai/claude-code claude login npx @dexilion/lastest init --ai claude-subscription

GitHub Copilot

$10-19/mo

Included with your Copilot subscription

  • CLI authentication
  • Pro, Business, or Enterprise
  • Requires Node.js 22+
npm install -g @github/copilot copilot npx @dexilion/lastest init --ai copilot-subscription

What It Supports

Automatically detects routes from common frameworks:

Next.js (App & Pages Router)
React Router v6+
Vue Router v4+
Generic HTML/Static Sites

Try It Out

Weekend project that solves a real problem. Free, open-source, rough edges included.

View on GitHub

Built by a dev, for devs. Good enough for side projects. Let me know if you try it.

Get Early Access

Help us improve lasTest by sharing your testing needs. We'll notify you when new features become available.