VoluSys Get started

Testing

The parts of VoluSys that parse untrusted input, such as TLS, images, SVG, JavaScript, audio and HTML/CSS, are also compiled for the host and tested there, often with sanitizers and fuzzers.

SuiteWhat it coversRun
tests/tlsCrypto test vectors (AES-GCM, ChaCha20-Poly1305, X25519, P-256, SHA-2, signatures), TLS 1.2/1.3 handshakes against a local test server, certificate extensions, OCSP, time handling, end-to-end connectionssh tests/tls/run_tests.sh
tests/imagePNG/APNG, JPEG, GIF, WebP (VP8/VP8L), BMP, ICO decoding against a generated corpus, plus fuzzing under ASan + UBSanpython tests/image/gen_corpus.py then sh tests/image/run_tests.sh
tests/svgThe SVG renderer compared pixel by pixel against reference renderingssee tests/svg
tests/jsJavaScript conformance cases with expected output, CORS decision logic, the browser prelude; optional ASan/UBSan buildsh tests/js/run_tests.sh [asan]
tests/audioWAV, FLAC, MP3 and Vorbis decoderspython tests/audio/run_tests.py
tests/browserCSP, SRI and cookie rules, plus a fuzzer for the HTML/CSS/layout enginesh tests/browser/run_tests.sh

The shell-based suites expect a Unix-like environment (Linux or WSL with gcc/clang).

Visual testing#

UI changes are checked by booting the OS headless and screenshotting it with tools/qmon.py (see Building). Automated visual regression tests, which compare screenshots against approved baselines in CI, now run with tools/vtest (scenarios, baselines, CI).