AccUnit

Unit Testing in VBA - Microsoft Access, Excel, …

Basics

From AccUnit
(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
Software testing means to determine whether the software meets the requirements.
Software testing means to determine whether the software meets the requirements.
-
Requirements in natural language, however, are not suitable as the basis of a test. ("Well, the thing must not crash" or "If I enter 100, then a particular result must be calculated").
+
Requirements in natural language, however, are not suitable as the basis of a test. ("Well, the thing must not crash" or "If I enter 100, a particular result must be calculated").
Moreover, it is not possible to precisely describe complex applications.
Moreover, it is not possible to precisely describe complex applications.
To test software, it is important to split the large complexity of an application into small testable fragments (= functions / procedures). These fragments should then perform exactly ONE task. You then describe:
To test software, it is important to split the large complexity of an application into small testable fragments (= functions / procedures). These fragments should then perform exactly ONE task. You then describe:

Revision as of 22:09, 22 May 2012

Software testing means to determine whether the software meets the requirements.

Requirements in natural language, however, are not suitable as the basis of a test. ("Well, the thing must not crash" or "If I enter 100, a particular result must be calculated").

Moreover, it is not possible to precisely describe complex applications.

To test software, it is important to split the large complexity of an application into small testable fragments (= functions / procedures). These fragments should then perform exactly ONE task. You then describe:

Personal tools