Egor Urvanov

QUnit

Testing · a JavaScript test framework

created · updated

An automated test framework for JavaScript code, from the same family as Jest and Vitest. A test feeds a given input to a finished function and compares the answer with the expected one. The name resembles Quint, but it is a program of a different class: QUnit checks written code, while Quint checks the rules of a system. The reliability of the tests themselves is checked by mutation testing: a defect is introduced into the code to see whether a test fails.

inputfunctionthe answer matchesone imagined situation is checked● model, people, systems, data  ● agent and harnessA test of a finished function: a given input, an expected answer, a match or not

QUnit and Quint

QUnitQuint
What it checksa finished function’s answer for given inputsno forbidden states in any order of actions
What it needswritten codea description of rules, the code may not exist
What is hardthinking up inputsstating rules so that they reflect reality

Source: qunitjs.com, the QUnit site

Where it appears · 5

Related terms

Whole glossary

© 2026 Egor Urvanov