Vitest Global Setup
Vitest's globalSetup feature runs code once before all tests execute, and optionally a cleanup function after all tests complete.

This is the personal blog of Ben Houston (bio here), a 3D computer graphics software developer. For a quick overview of the work I am proud of, see my portfolio. I've worked on projects like Web3DSurvey, Three.js, Deadline, Krakatoa, and Exocortex VFX plugins. I'm also an entrepreneur, having founded Land of Assets, Threekit, Clara.io, Exocortex, and Frantic Films Software.
Vitest's globalSetup feature runs code once before all tests execute, and optionally a cleanup function after all tests complete.
This is the story of how I went from building Hollywood VFX tools to raising $65M for enterprise SaaS, and the three crucial lessons I learned along the way.
After my Visual Insights internships, I went deep on C# and wrote ExoEngine3D to test whether managed languages could handle real-time 3D graphics.
How three university co-op terms shaped my early graphics career through robotics, experimental 3D information visualization, and real-time command software for DARPA.
How I went from Apple IIe two-liners to C, x86 assembly, the demo scene, 3D engine prototypes, and a high school internship building technology for Wizardry 8.
After twenty years building computer graphics software used in Hollywood blockbusters and enterprise product visualization, here are the crucial lessons that can help entrepreneurs build more successful companies.
Declary introduces a new capability for embedding intent specifications directly in your source code—transforming pseudocode into working implementations. This intuitive approach bridges the gap between what you want and how it's implemented, all within your existing files.
Intent-driven testing shifts validation from implementation details to declared intent, ensuring your system works as specified rather th an just as coded. This approach generates comprehensive test suites from your intent files, introducing the powerful concept of specification coverage.
AI coding agents are great at greenfield tasks -- but struggle to maintain or modify existing systems. The problem isn’t the model. It’s the paradigm. This essay makes the case for intent-based programming: a shift from task-driven implementation to declarative specification, powered by systems like Declary.
The Generic Builder is a configurable meta‑builder that creates specialized builders on demand, solving the chicken‑and‑egg problem of intent‑based toolkits. This essay explains its design, the router agent, and a chat‑driven workflow that bridges conversational intent with structured files.
Intent-based programming doesn’t have to be a disruptive shift. By treating it as a toolkit -- rather than a framework -- you can incrementally adopt declarative development practices without rewriting your architecture.
Intent-based development shifts the focus of software engineering from manual implementation to structured intent. This vocabulary defines the core building blocks of Declary, a toolkit for generating and maintaining software systems through declarative specifications.