Most courses end with a test that tells you whether people passed. Very few contain assessments that tell you whether the lesson worked while there is still time to change it.
Assessment of learning happens after the fact: it certifies, sorts and reports. Assessment for learning happens inside the experience: it surfaces misunderstanding early, makes the standard visible, and gives the learner something to act on before the room empties.
The distinction is not academic. A trainer running a session needs two or three quick checks that reveal reasoning, not recall. An instructional designer should be writing those checks before the content, because the questions define what the course actually claims to teach. An L&D manager should be asking whether completion data can distinguish someone who understood from someone who attended.
The uncomfortable question: if your assessments never change what happens next in the room, are they measuring learning or just closing a file?