Supported frameworks
Jest
The default framework. Auto-detected when your test code uses
expect() or jest imports.Vitest
Auto-detected when your test code imports from
vitest.Mocha
Auto-detected when your test code uses
mocha or chai.Running tests
Add your test code
You have three options:
- Paste code — click Paste Code and enter your test code directly.
- Generate from analysis — run a codebase analysis and use the Execute Tests button on the results page. The generated test code is automatically loaded.
- Try a sample — click Try Sample to load a pre-built example and see the runner in action.
Select tests
The Tests tab parses your code and lists the individual test cases. Select all or a subset to run.
Real-time output
While tests run, the execution view streams output in real time. The console panel on the right shows the raw terminal output from the test framework — pass and fail lines are color-coded green and red as they appear. When execution completes, the summary cards show:| Metric | Description |
|---|---|
| Total | Total number of tests that ran |
| Passed | Tests that passed |
| Failed | Tests that failed |
| Duration | Total execution time |
| Pass rate | Percentage of tests that passed |
describe() block. Click a failed test to see its error message and stack trace.
Browser sandbox limitations
Because tests run inside a browser sandbox, there are constraints you should be aware of:- No local file system access —
fsoperations that read from your host machine are not supported. Self-contained tests that define their own data work without issues. - Network calls go through the browser — outbound HTTP requests from your tests are subject to the browser’s CORS and security policies.
- No native binaries — tests that spawn native processes or use native Node.js addons will not run.
