Skip to content
Edit this page

Tests

node test.mjs

It joins the parts and runs the checks embedded in the page, on up to eight cores at once (about three minutes; --garments=jeans,bikini tries only those garments in a few seconds, --serial runs everything in one process): tape girths against the sliders, every garment at default and extreme sizes, the seam walk (joined edges must match in flat length), the marker, stitch thread paths and tile wrap.

Option What it does
--garments=jeans,bikini tries only those garments, in a few seconds
--serial runs everything in one process

The local server has tests of its own, against a pretend OpenRouter:

.venv/bin/python server/test_app.py