Changes for page Testing

Last modified by chrisby on 2024/06/20 14:42

From version 4.1
edited by chrisby
on 2023/06/04 10:43
Change comment: Renamed back-links.
To version 4.2
edited by chrisby
on 2023/09/03 23:54
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -3,7 +3,7 @@
3 3  (% style="text-align: justify;" %)
4 4  The chapters presented here are a concise summary of more theoretical and high-level knowledge. It is recommended that you are familiar with writing very basic tests and mocks, and understand the concepts of polymorphism and [[dependency injection>>doc:Software Engineering.Architecture.Dependency Injection.WebHome]] before reading on.
5 5  
6 -=== ===
6 +=== ===
7 7  
8 8  === General ===
9 9  
... ... @@ -11,7 +11,7 @@
11 11  * **Definition 'Production Code':** Code that provides functionality to meet project requirements.
12 12  * **Definition 'Test Code':** Often referred to as "tests", it is written to verify the correct functionality of the production code.
13 13  
14 -=== ===
14 +=== ===
15 15  
16 16  === Benefits of Testing ===
17 17  
... ... @@ -24,7 +24,7 @@
24 24  * **Documentation**
25 25  ** Tests serve as the most current form of code documentation, capturing the expected behavior of the production code in its present state.
26 26  
27 -=== ===
27 +=== ===
28 28  
29 29  === What should be tested? ===
30 30  
... ... @@ -35,6 +35,6 @@
35 35  ** **High-level use cases** that are defined in project requirements. Tests are actually specification translated into code.
36 36  * **Non-Functional Requirements**
37 37  ** **Lower-level use cases** derived from high-level project use cases that are not directly visible to end users, but form the backbone of software functionality. This includes the expected behavior of the underlying functions, classes, modules, and components.
38 -** **Border cases** that could theoretically occur, such as maximum/minimum values, nulls, invalid input, zeroes, negative numbers, empty lists, values with special meaning, exceptions, etc.
38 +** **Border cases** that could theoretically occur, such as maximum/minimum values, nulls, invalid input outside the permissible value range, zeroes, negative numbers, empty lists, values with special meaning, exceptions, etc.
39 39  ** **Performance requirements**
40 40  ** **Security requirements**