This guide covers running TUI tests in headless environments, including GitHub Actions and Docker.
- Node.js 20
- npm
- bash (for test runner script)
npm run test:tuidocker build -f Dockerfile.tui-tests -t worklog-tui-tests .
docker run --rm worklog-tui-testsThe workflow runs on every pull request and executes the headless TUI test runner:
.github/workflows/tui-tests.yml