Show
Create a quiz with a (short) time limit, and 'Students must submit attempts or they are not counted.'
Start an attempt as a student, then close that browser window without submitting.
A few minutes after time has expired, go in as the teacher and to Results -> Grades.
This attempt will shown as Never submitted. (If it still says In progress, wait longer, and run cron if necessary.)
Click on the Review attempt icon. In the table at the top, it should show the attempt state, but not the grade.
Now attempt the quiz as another student and submit it.
Review that attempt as student and teacher and ensure the grade is displayed. (Well the grade will only display to students if the review options allow it.)