Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

running-tests

Skill by DataDog

Explains how to run the browser-sdk test suites, including unit, E2E, script, compatibility and performance tests. It is for contributors to the DataDog browser-sdk repository who need the right yarn command.

  • Score 75
  • 402 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install running-tests

Built from the published package, never by AI.

git clone --depth 1 https://github.com/DataDog/browser-sdk /tmp/browser-sdk && mkdir -p ~/.claude/skills && cp -r /tmp/browser-sdk/.claude/skills/running-tests ~/.claude/skills/running-tests

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install running-tests in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill is a guide for running tests and checks in the browser-sdk repository. It covers unit tests (Karma and Jasmine), E2E tests (Playwright), script tests, TypeScript and SSR compatibility checks, performance benchmarks, and runs on BrowserStack. It lists the root yarn scripts for each case, such as targeting a spec, a browser, or a pinned old browser, and reproducing a flaky test seed.

The skill also explains when a rebuild is needed. Tests that use npmSetup, built test apps, or the performance scenarios need `yarn build:apps` after a source change. It lists common mistakes, such as E2E tests passing locally but failing in CI. It is written for developers working on browser-sdk.

Written from the project's SKILL.md and checked against it.

What it can do

  • Unit testsRuns unit tests in watch mode or as a single run, with support for specific specs and seeds.
  • E2E testsRuns Playwright E2E tests on chromium, firefox, webkit, or pinned old browser versions.
  • Script testsRuns the script tests under scripts/ with Node's test runner.
  • TypeScript and SSR checksRuns TypeScript compatibility checks across several versions and SSR compatibility checks in Node.
  • Performance benchmarksRuns performance scenarios, which CI repeats 15 times each.
  • BrowserStack runsRuns unit tests on BrowserStack using BS_USERNAME and BS_ACCESS_KEY.
  • Rebuild test appsExplains when to run yarn build:apps before E2E and performance tests.

What you need

  • Yarn to run the root test scripts
  • BrowserStack username and access key for BrowserStack runs
  • Playwright browsers set up with yarn test:e2e:setup

Try asking

  • Run the browser-sdk unit tests for the view domain specs
  • Reproduce CI test order using seed 41027 in browser-sdk
  • Run E2E tests for unhandled rejections on firefox

Good to know

  • Locally, E2E tests run only the bundle setup and only chromium unless --project is passed
  • npmSetup, app-based E2E and performance tests need yarn build:apps after source changes
  • Pinned old browser projects need yarn test:e2e:setup:pinned first

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/running-tests/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md7 KB

Alternatives to running-tests

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

running-tests: common questions

Why does my E2E test pass locally but fail in CI?

Locally only the bundle setup runs. The source suggests running yarn build:apps, then CI=1 yarn test:e2e with the browser and test name to match the CI run.

How do I run one script test file?

The source says yarn test:script runs all script specs, so run node --test with the experimental module mocks flag on the file directly.

Can I run tests on old browser versions?

Yes. The source lists pinned E2E projects for Chrome 120, Firefox 119 and WebKit 17.4, which need a one-time setup command.

How do I install running-tests?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is running-tests free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is running-tests safe to use?

It scores 75 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to running-tests?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

running-tests Install

Add to stack

Loading.