gen-meteor-test

Scaffold a Meteor 3 test file and wire the meteortesting:mocha driver.

3|4|Updated Mar 22, 2014
One-click install
npx skills add https://github.com/gui81/scorekeeper --skill gen-meteor-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gen-meteor-test
Source: https://github.com/gui81/scorekeeper/tree/main/.claude/skills/gen-meteor-test
Command: npx skills add https://github.com/gui81/scorekeeper --skill gen-meteor-test

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scaffolds a Meteor 3 test for the Scorekeeper app and wires the test driver.

Core Features & Use Cases

  • Generates an initial test scaffold and driver wiring suitable for meteortesting:mocha and chai.
  • Adapts to projects using Meteor 3, ensuring compatibility with server and client code paths.
  • Provides a repeatable workflow for onboarding tests in a previously untested codebase.

Quick Start

Run the scaffolder from the project root to create the initial test file and driver.

Frequently Asked Questions about gen-meteor-test

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

FAQPage Schema
How do I add tests to a Meteor 3 project that has no existing test setup?

This scaffolder generates a *.tests.js file next to your target code, installs meteortesting:mocha and chai, and wires the test driver to add tests to a Meteor 3 project.

What's the best way to test Elo rating math in a Meteor application?

To test Elo rating math in a Meteor application, run this scaffolder to generate a *.tests.js file configured with chai assertions for validating your rating calculations.

Does meteortesting:mocha work with Meteor 3 for server and client code paths?

Yes, meteortesting:mocha works with Meteor 3, and this scaffolding process adapts the generated test setup to ensure compatibility across both server and client code paths.

How do I scaffold test files for specific methods like add_match or add_player in Meteor?

To scaffold tests for Meteor methods like add_match or add_player, this tool writes a *.tests.js file directly next to the target method's source code for isolated testing.

Can I use chai for test automation in an untested Meteor codebase?

Yes, you can use chai for test automation in an untested Meteor codebase; this scaffolder installs chai alongside meteortesting:mocha and provides a repeatable workflow for onboarding tests.