Elyra
Elyra The coding agent eTerm The terminal that knows where each command ends Huskarl AI colleagues on your own Mac Starf An activity monitor for Apple silicon that never invents a number etrans An SSH and SFTP client for macOS Elyra VM Virtual machines for macOS, Linux and Windows on your Mac Litr A small, native web browser for macOS Notr A notebook for macOS e The native code editor Elyra Grove Native local development environment Askr The real server for Laravel & PHP Elyra Framework Rust + Svelte 5 framework for desktop apps Elyra Conductor Local project conductor Refr Local-first PDF workspace for macOS Elyra Workspace A desktop workspace for coding agents Elyra SQL Server MySQL-compatible SQL server in Rust Elyra Félagi Agents as teammates on one board Elyra SQL Client Native desktop SQL workbench Elyra SQL Anywhere Replication-ready SQL engine Elyra Sjá SEO & GEO workspace for macOS Elyra DataGrid Server-driven data grid for Laravel
Development
Development
Release notes
Changelog
Elyra
Test generation

Test generation

Read a source file, generate comprehensive tests with real assertions.

@elyracode/test-gen reads the actual source code, detects the testing framework, and writes tests that exercise the real behavior — not placeholder expect(true).toBe(true) stubs.

Install

elyra install npm:@elyracode/test-gen

Tools

Tool Description
generate_tests Read a source file and generate comprehensive tests with real assertions
find_untested Scan the project for source files without corresponding test files

Commands

Command Description
/test-gen <path> Generate tests for a specific file
/untested List source files without tests

Examples

> Generate tests for app/Http/Controllers/ProductController.php
> Write Pest tests for the User model focusing on validation
> Find files without tests
/test-gen app/Services/PaymentService.php
/untested

How it works

  • Auto‑detects framework: Pest for PHP, Vitest for TypeScript/JavaScript
  • Reads the actual source for context‑aware assertions
  • Suggests correct test file paths (Laravel and TS conventions)
  • Analyzes functions, classes, and dependencies
  • Extends existing test files rather than duplicating them