Introduction

What is Zelte?

What is Zelte?

Zelte is a lightweight, zero-configuration API testing tool for backend engineers. It's designed to be simple, fast, and intuitive - just write your tests and run them. No complex setup, no boilerplate, no configuration files required.

Key Features

Zelte provides everything you need for API testing:

text
✓ Zero Configuration  - No flags needed, just run
✓ Auto-Detection    - Finds config, env files automatically  
✓ Simple Syntax     - Write tests like you speak
✓ REST & GraphQL    - Full support for both
✓ CLI-First         - Terminal-first, CI/CD ready
✓ Lightweight       - Minimal dependencies, fast startup
✓ Multi-Format      - YAML and JSON both supported

Quick Example

Here's what a basic Zelte test looks like:

collection.yaml
version: '1.0'
name: My API Tests

variables:
  baseUrl: http://localhost:3000

tests:
  - id: login
    name: User Login
    request:
      method: POST
      url: ${baseUrl}/auth/login
      body:
        email: test@mail.com
        password: 123456
    assertions:
      - statusCode === 200
      - body.token !== null

Run Your Tests

Just run the command and see results instantly:

Terminal
$ zelte run collection.yaml
Output
Collection: My API Tests

Test Results:
──────────────────────────────
ID      Name        Status   
──────────────────────────────
login   User Login  ✓ PASSED 

Summary:
  1 passed, 0 failed
  Total: 1 tests in 145ms