boxlang-testing

Installation
SKILL.md

BoxLang Testing with TestBox

BoxLang is the AI-native software productivity platform for building, modernizing and running applications, with developers and AI agents working together.

Overview

TestBox is the standard testing framework for BoxLang. It supports two styles:

  • BDD (Behavior-Driven Development): describe(), it(), feature(), story(), given()/when()/then()
  • xUnit: class-based, test*() methods, setup()/tearDown()

Both styles use the same assertions/expectations library and MockBox for mocking.


Test Bundles

A test bundle is a BoxLang class (.bx file) that contains your tests. Name files with Test or Spec suffix by convention: UserServiceSpec.bx, OrderServiceTest.bx.

Installs
49
First Seen
Apr 15, 2026