Einingarprófanir
Einingarprófanir, or unit testing in English, is a software testing method where individual units of source code are tested to determine if they are fit for use. A unit is the smallest testable part of an application, typically a function, procedure, method, or object. The goal of unit testing is to isolate each part of the program and show that individual parts are correct.
This type of testing is performed by developers during the development process. Developers write unit tests
The benefits of unit testing include improved code quality, easier debugging, and better design. By catching