Ehab Fayez Webflow Premium Partner
Book a Call
Back to Agent Skills
Development & Testing

Bruno API Testing

Test and document APIs using Bruno, a Git-friendly alternative to Postman that stores collections as plain files in your repo.

Claude Code Cursor

Overview

Bruno is an open-source API client that stores request collections as plain text files directly in your repository. Unlike Postman, which uses cloud-based collections, Bruno keeps everything in version control, making it perfect for team collaboration and AI agent workflows.

AI agents can read, modify, and create Bruno collection files because they are simple, human-readable formats. Your agent can generate API test collections from your route definitions, run requests against your development server, and validate responses, all without a GUI. This makes Bruno ideal for automated API testing in AI-driven workflows.

The Git-friendly nature of Bruno means your API tests travel with your code. When an AI agent modifies an API endpoint, it can simultaneously update the corresponding Bruno test collection, keeping documentation and tests in sync with the implementation.

Who Is This For?

  • Backend developers testing REST and GraphQL APIs without leaving the editor
  • Teams version-controlling API test collections alongside application code
  • Developers generating API test suites from OpenAPI specifications
  • QA engineers running automated API regression tests via CLI

Installation

Setup for Claude Code
npm install -g @usebruno/cli
Claude Code can create .bru files and run: bru run --env dev

Configuration

// bruno.json
{
  "version": "1",
  "name": "My API Collection",
  "type": "collection",
  "ignore": ["node_modules"]
}