boxlang-testing

Installation
SKILL.md

BoxLang Testing with TestBox

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.

Related skills

More from ortus-boxlang/skills

Installs
9
First Seen
Apr 15, 2026