Unit testing is verifying the individual units of code. Code coverage can be used to determine how much of the code is actually being tested by developers. The aim of unit testing is to execute each line of code, and so unit testing helps detect corner cases that wouldn’t otherwise be caught during functional tests. There are various methods of low cost unit testing automation for every language; some examples are Gtest/Gmock, junit, Cunit. Unit testing support generally comes along with programming languages.
No comments:
Post a Comment