Writing Unit Tests in C/AL

What is a unit?A unit is any code that encapsulates an implementation. It could be one or a combination of individual functions or triggers.Thus, a unit could also refer to a local function. A unit, from the C/AL perspective, has the following: Inputs: Database state, input parameters, global variables Outputs: Return values, Parameters passed as…

3