Skip to content

Unit test

No editor has reviewed this definition yet, and search engines are not shown it until it is reviewed.

A small, fast test that checks one function gives the right output for a given input. Ask the agent to write tests first, since they are how it knows its code works.

In Arabic

اختبار الوحدة

اختبار صغير سريع يتحقق من أن دالة واحدة تعطي الناتج الصحيح لمدخل معين. اطلب من الوكيل أن يكتب الاختبارات أولاً، فهي الطريقة التي يعرف بها أن شيفرته تعمل.

Also known as: unit tests، unit testing

See also

All terms