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 helper 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.
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.