testing-automation

Automate TypeScript test workflows with the Bun test runner.

2|Updated Oct 24, 2025
One-click install
npx skills add https://github.com/pwarnock/liaison-toolkit --skill testing-automation-pwarnock
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-automation
Source: https://github.com/pwarnock/liaison-toolkit/tree/main/.skills/testing-automation
Command: npx skills add https://github.com/pwarnock/liaison-toolkit --skill testing-automation-pwarnock

SYSTEM DOCUMENTATION & REQUIREMENTS

## What problem does it solve? This skill helps teams implement and maintain robust testing workflows for TypeScript projects using Bun test runner, ensuring consistent test quality across development cycles.

## Core Features & Use Cases

  • Bun Test Basics and Execution: guidance on running unit and integration tests with optional coverage to identify gaps.
  • Test Organization: best practices for placing test files alongside source code and naming conventions.
  • Mocking and Stubbing: strategies for isolating CLI commands and modules in tests.
  • CI/CD Integration: patterns to enforce test execution and coverage in automated pipelines.

### Quick Start Install Bun and initialize a tests directory, create representative tests alongside source files, run bun test --coverage to measure quality, and configure your CI workflow to execute tests on every push or pull request.

Frequently Asked Questions about testing-automation

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

FAQPage Schema
How do I set up TypeScript unit testing with Bun?

TypeScript unit testing with Bun involves initializing a tests directory, placing test files alongside source code, and running executable bun test commands to validate code functionality.

How do I enforce code coverage thresholds in a Bun test runner workflow?

Code coverage thresholds in Bun are enforced by running bun test --coverage to measure quality gaps, then applying coverage rules within your CI/CD pipeline to prevent merges if requirements are unmet.

What is the best way to mock CLI dependencies for TypeScript integration tests?

Mocking CLI dependencies for TypeScript integration tests requires applying stubbing strategies to isolate modules, ensuring test execution remains independent of external command-line interfaces.

How does CI/CD integration work with Bun tests for TypeScript projects?

CI/CD integration with Bun tests works by configuring automated pipelines to execute tests and enforce coverage on every push or pull request, maintaining consistent test quality across development cycles.

Can I use Bun for end-to-end testing scenarios in TypeScript?

Yes, Bun applies to unit, integration, and end-to-end testing scenarios for TypeScript projects, organizing test files alongside source code to maintain consistent execution across testing levels.