Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Perhaps these articles will be more helpful:</p> <p><a href="http://en.wikipedia.org/wiki/Unit_test" rel="nofollow noreferrer"><strong>Wikipedia:</strong></a></p> <blockquote> <p>In computer programming, unit testing is a software design and development method where the programmer gains confidence that individual units of source code are fit for use. A unit is the smallest testable part of an application. In procedural programming a unit may be an individual program, function, procedure, etc., while in object-oriented programming, the smallest unit is a method, which may belong to a base/super class, abstract class or derived/child class.</p> <p>Unit testing can be done by something as simple as stepping through code in a debugger; modern applications include the use of a test framework such as xUnit.</p> <p>Ideally, each test case is independent from the others; Double objects like stubs, mock or fake objects<a href="http://en.wikipedia.org/wiki/Unit_test" rel="nofollow noreferrer">1</a> as well as test harnesses can be used to assist testing a module in isolation. Unit testing is typically done by software developers to ensure that the code other developers have written meets software requirements and behaves as the developer intended.</p> </blockquote> <p><a href="http://msdn.microsoft.com/en-us/library/aa292197(VS.71).aspx" rel="nofollow noreferrer"><strong>MSDN:</strong></a> </p> <blockquote> <p>The primary goal of unit testing is to take the smallest piece of testable software in the application, isolate it from the remainder of the code, and determine whether it behaves exactly as you expect. Each unit is tested separately before integrating them into modules to test the interfaces between modules. Unit testing has proven its value in that a large percentage of defects are identified during its use.</p> </blockquote> <p><a href="http://www.extremeprogramming.org/rules/unittests.html" rel="nofollow noreferrer"><strong>Extreme Rules:</strong></a></p> <blockquote> <p>Unit tests enable collective code ownership. When you create unit tests you guard your functionality from being accidentally harmed. Requiring all code to pass all unit tests before it can be released ensures all functionality always works. Code ownership is not required if all classes are guarded by unit tests.</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload