Bruno Logo

Bruno

    • What is Bruno?
    • Manifesto
    • Feedback and Community
    • Index
      • Download
      • Create a Request
      • Create a Collection
      • Create a Test
      • Run a Collection
      • Exporting Collections
      • Importing Collections
      • Migrating from Postman
      • Safe Mode
    • Overview
    • Collaboration via CLI
    • Collaboration via GUI
    • Introduction
    • Assertions
    • JavaScript Reference
    • Overview
    • Dotenv File
    • Secret Variables
      • Overview
      • Adding a Secret Provider
      • Configuring and Fetching secrets
      • Using Secrets
      • Using with CLI
    • Overview
      • Overview
      • Authorization Code
      • Client Credentials
      • Password Credentials
    • Overview
    • Getting Started
    • Variables
      • Response Query
      • Response Object
      • Request Object
      • Sync Requests
    • Inbuilt Libraries
    • External Libraries
    • Whitelisting Modules
    • Javascript Reference
    • Overview
    • Samples
    • Language
    • Tag Reference
    • Syntax Highlighting
    • Translator
    • License Management
        • Activate License
        • Manage Licenses
        • Activate License
      • Manage Licenses
      • Activate License
Question? Give us feedback → (opens in a new tab)Edit this page
API Testing
Assertions

Assertions

Assertions allow you to declaratively write tests.

This should cover most of your testing needs. For complex tests, you can write test scripts.

Example: bru assertions

IntroductionJavaScript Reference