SoftwareTesting:Tools:UnitTest: Difference between revisions

Jump to navigation Jump to search
Line 3: Line 3:
== Description ==
== Description ==


What is a “unit”? It can be a module, a class, a method or even a single block of code. Any encapsulation can be considered a unit and is up to the developer to define. A suite of tests can be written to test correctness of the unit and assert that a piece of code evaluates to true.
What is a “unit”? It can be a module, a class, a method or even a single block of code. Any encapsulation can be considered a unit and is up to the developer to define. A test asserts that a piece of code evaluates to true. A suite of tests can be written to test correctness of the unit.


== Tasks ==
== Tasks ==
canmove, Confirmed users
1,189

edits

Navigation menu