Update content

This commit is contained in:
danrega
2023-03-10 16:16:34 +01:00
parent e3c1fbedb6
commit 9a8dfe15e2
4 changed files with 16 additions and 5 deletions

View File

@@ -222,7 +222,7 @@ ENDCLASS.
**Implementing Test Methods**
- The implementation ideally follows the *given-when-then* pattern.
- *given*: Preparing the test, e.g. creating an instance of the class under test and a local test double (to inject test test double into the class under test)
- *given*: Preparing the test, e.g. creating an instance of the class under test and a local test double (to inject the test double into the class under test)
- *when*: Calling the procedure to be tested
- *then*: Checking and evaluating the test result using the static methods of the `CL_ABAP_UNIT_ASSERT` class
- A selection of static methods of the class `CL_ABAP_UNIT_ASSERT` that can be used for the checks: