ax-testing

Automate AX platform regression tests with Node.js and Bun test runners.

5|2|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/project-ax/ax-legacy --skill ax-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ax-testing
Source: https://github.com/project-ax/ax-legacy/tree/main/.claude/skills/ax-testing
Command: npx skills add https://github.com/project-ax/ax-legacy --skill ax-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires vitest, bun, kind, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill Unit provides a comprehensive testing suite for AX, allowing users to test and debug various components and functionalities of the AX platform.

Core Features & Use Cases

  • Test Structure: Test AX's test structure, fixtures, mocking patterns, common assertions, and gotchas.
  • Command Execution: Execute tests using npm test, bun test, npm run test:fuzz, and npm run test:e2e.
  • Directory Structure: Mirror the src/ directory structure for test isolation and ease of maintenance.
  • Test Isolation: Ensure tests do not interfere with each other, particularly for SQLite databases and process-level state.
  • Test Automation: Automated regression tests against a live AX server using a kind cluster and mock servers.
  • Use Case: Users can use this Skill Unit to write, run, and maintain tests for AX, ensuring the platform's stability and reliability.

Quick Start

Run all tests with the command: npm test.

Frequently Asked Questions about ax-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate AI platform testing with Node.js and Bun?

Run automated regression tests against a live AI platform server using Node.js and Bun's native test runners. This approach ensures test isolation and uses mock services for a controlled testing environment.

How do I ensure test isolation for SQLite databases and process-level state?

Ensure test isolation by mirroring the src/ directory structure for tests. This pattern prevents tests from interfering with each other, specifically addressing SQLite databases and process-level state.

Do I need a kind cluster to run end-to-end tests for an AI platform?

Yes, a kind cluster is required to execute automated regression tests against a live AI server. The cluster works alongside mock servers to provide a controlled testing environment for end-to-end validation.

What commands execute different types of test suites like fuzz or e2e?

Execute different test suites using `npm test` for all tests, `bun test` for native runner execution, `npm run test:fuzz` for fuzz testing, and `npm run test:e2e` for end-to-end validation against a live server.

What is the best way to structure mocking patterns and fixtures for platform testing?

Structure mocking patterns and fixtures by mirroring the src/ directory structure for test isolation. This organization maintains clear boundaries and provides a standardized suite of common assertions and fixtures.