Boxlang Testing

Use this skill when writing, running, or debugging tests for BoxLang applications using TestBox: BDD-style describe/it specs, xUnit-style test classes, expectations (expect/toBe matchers), assertions ($assert), life-cycle methods (beforeAll/afterAll/beforeEach/afterEach/aroundEach), MockBox mocking (createMock/prepareMock/$()/$results()), mock data generation (mockData()), async testing, exception testing, focused/skipped specs, and running tests via the BoxLang CLI runner.

ortus-boxlang bb0452c 22.5 KB Updated

File contents

ortus-boxlang/skills/tree/main/boxlang-developer/testing commit bb0452c066

Frequently asked questions

npx skillmds@latest add ortus-boxlang/boxlang-testing