bx-web-support
Installation
SKILL.md
bx-web-support: Web Context Mocking for Testing
Installation
install-bx-module bx-web-support
# CommandBox
box install bx-web-support
IMPORTANT: This module is for CLI and testing only. Do NOT install it in a web runtime — it will cause JAR conflicts with the web server's request handling. It should be installed as a test/development dependency only.
Purpose
bx-web-support lets you simulate HTTP requests and web contexts when running BoxLang scripts in CLI mode or unit tests. This allows you to test handlers and components that rely on web-specific BIFs like getHTTPRequestData(), form, url, CGI, and request scopes.