React
Run React component tests with a real DOM environment — zero config, automatic TSX handling, and optional render metrics.
test
test(message () => void) | test(cb: () => void)
describe
describe(title DescribeOptions) | describe(message () => void) | describe(cb: () => void)
it
it(message () => void) | it(cb: () => void)
env
Reads an environment file and sets the environment variables.
skip
Skipping a test file
Before and After Each
2 items
Containers
A minimal API to assist tests that require containers or tests that run inside containers.
Start Script
Run your package.json scripts in a background process and test them 🧑🏻🔬
Start Service
Run your services in a background process and test them 🧑🏻🔬
Processes
4 items
todo
.todo is an extended helper for describe, it, and test to assist you plan future tests.
only
The .only modifier enables selective execution of tests, allowing you to focus on specific describe, it, and/or test blocks by running only those marked with .only. See the usage to understand the different conditions and behaviors.
Shared Resources
Share state, servers, database connections, and more between parallel test files — no duplicated setup, no conflicts.
Multi Suite
Run multiple independent test suites — each with its own configuration — as a single, unified execution.
Coverage
4 items
List Files
Returns all files in a directory (independent of their depth) or the file itself.
Log
Since by default Poku only shows outputs generated from itself, this helper allows you to use an alternative to console.log with Poku runner.