bx-web-support
OfficialTest BoxLang web context with mock HTTP BIFs.
Authorortus-boxlang
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Testing BoxLang web-context code outside a web server by simulating HTTP requests and web contexts using bx-web-support, enabling reliable unit tests without a live web server.
Core Features & Use Cases
- Mock HTTP methods across GET, POST, PUT, DELETE, and PATCH to simulate real API interactions.
- Create and run mock requests with mockRequestNew and mockRequestRun to exercise various payloads, headers, and paths.
- Access a full web context inside handlers via getHTTPRequestData(), form, url, CGI, and related BIFs for accurate behavior validation.
- Use as a dev/test dependency to prevent production web-runtime conflicts while validating edge cases and error handling.
Quick Start
Install bx-web-support and incorporate it into your test setup to begin simulating web requests and validating handler behavior.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: bx-web-support Download link: https://github.com/ortus-boxlang/skills/archive/main.zip#bx-web-support Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.