hubify test
Test skills in isolated E2B sandbox environments before publishing or deploying.Usage
Arguments
| Argument | Description |
|---|---|
skill | Skill name or path to test |
Options
| Option | Description |
|---|---|
--scenario <name> | Run specific test scenario |
--all | Run all scenarios |
--timeout <ms> | Test timeout (default: 60000) |
--verbose | Verbose output |
--json | Output as JSON |
Examples
Test a Skill
Test Local Skill
Run Specific Scenario
Run All Scenarios
Verbose Output
- Full sandbox logs
- Skill execution output
- File system changes
- Command outputs
JSON Output
Test Scenarios
Skills can define test scenarios in their.hub file:
Check Types
| Check | Description |
|---|---|
file_exists | File exists at path |
file_not_exists | File does not exist |
file_contains | File contains pattern |
file_not_contains | File does not contain pattern |
command_succeeds | Command exits with 0 |
command_fails | Command exits non-zero |
output_contains | Command output contains text |
E2B Sandbox
Tests run in isolated E2B cloud sandboxes:- Fresh environment for each test
- No access to local files
- No network access (unless configured)
- Automatic cleanup