integration-tests

Orchestrate Verdaccio-backed integration testing workflows for local npm registry scenarios.

3.6k|897|Updated May 31, 2025
One-click install
npx skills add https://github.com/openai/openai-agents-js --skill integration-tests-openai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: integration-tests
Source: https://github.com/openai/openai-agents-js/tree/main/.agents/skills/integration-tests
Command: npx skills add https://github.com/openai/openai-agents-js --skill integration-tests-openai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Verdaccio-backed integration testing workflow solves the challenge of validating local registry interactions, ensuring reliable publish/install/test pipelines without relying on remote registries.

Core Features & Use Cases

  • Start a local Verdaccio registry and manage its lifecycle during tests.
  • Run the full build/publish/test pipeline in a controlled environment and capture outputs for analysis.
  • Use in development or CI to validate end-to-end workflows that involve package publishing and dependency resolution.

Quick Start

Start Verdaccio locally, run the full publish/test integration pipeline, and report the results.

Frequently Asked Questions about integration-tests

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

FAQPage Schema
How do I run integration tests with a local npm registry instead of a remote one?

Local npm registry integration testing uses Verdaccio to start a local registry, publish packages, and validate install pipelines in isolated environments. This approach ensures reliable testing without depending on remote registries.

What is the best way to validate a pnpm build and publish pipeline before pushing to a remote registry?

The best way to validate a pnpm build and publish pipeline is using a Verdaccio-backed integration workflow. It orchestrates subprocesses to build packages, publish them to a local registry, and run tests, capturing all outputs for comprehensive analysis.

Can I use Verdaccio for CI integration testing to test package publishing and dependency resolution?

Yes, you can use Verdaccio for CI integration testing. It manages the local registry lifecycle, allowing you to validate end-to-end workflows involving package publishing and dependency resolution in a controlled, deterministic environment during continuous integration.

Why should I use a local Verdaccio registry for integration testing instead of mocking package installs?

Using a local Verdaccio registry provides a real npm registry environment for integration testing, ensuring that publish and install pipelines are validated deterministically. Mocking installs skips the actual registry interactions that Verdaccio faithfully replicates.

Does local registry integration testing capture build and test outputs for CI analysis?

Yes, local registry integration testing captures comprehensive outputs from the build, publish, and test phases. By orchestrating these subprocesses deterministically, it ensures all results are collected for detailed analysis in both development and CI environments.