testbox-unit-xunit - TestBox xUnit Testing Skill
Write xUnit-style unit tests with TestBox using test functions, lifecycle methods, and assertions
Tags
Updated: 2026-05-09Capabilities
Typical Inputs
Typical Outputs
What this skill does
- write test functions
- use assertion methods
- define lifecycle methods
- create mock objects
- execute test bundles
- apply AAA pattern
- skip tests
- verify exceptions
Inputs
- TestBox framework
- CFC models
- CFC services
- mock objects
- test data
- BoxLang classes
- CFML components
Outputs
- test results
- assertion failures
- test reports
- exception details
- test execution status
Requirements
- TestBox installed
- BaseSpec class
- BoxLang runtime
- CFML engine
