# 1. Exam & Quiz Setup — Test Cases

User Type: **Super Administrator**
Source: *Mi Digital Academy - Education CRM Features Document*
Spec: exam_quiz_setup.md — every feature, sub-feature, and rule covered

---

## Test Execution Policy
- Zero tolerance: any deviation from documented behavior = FAILED = bug
- Every bug is immediately logged/reported (Bug ID, feature, sub-feature,
  expected vs actual, severity) and fixed 100% before the group passes
- Feature group passes only at 100% test pass rate

## Coverage Matrix
| Feature | Sub-feature / Rule | Test IDs |
|---------|--------------------|----------|
| 1.1 Create, Edit, and Delete Exams and Quizzes | Create an exam or quiz: title, description, and the question set | TC-SA-08-01-001 |
| 1.1 Create, Edit, and Delete Exams and Quizzes | Edit an exam/quiz (questions, settings, description) | TC-SA-08-01-002 |
| 1.1 Create, Edit, and Delete Exams and Quizzes | Delete or retire an exam/quiz (with the attempt history preserved) | TC-SA-08-01-003, TC-SA-08-01-004 |
| 1.1 Create, Edit, and Delete Exams and Quizzes | Exam/quiz list with status, question count, and attempt counts | TC-SA-08-01-005 |
| 1.1 Create, Edit, and Delete Exams and Quizzes | Dependency check before delete: exams with attempts are flagged for retire | TC-SA-08-01-006 |
| 1.1 Create, Edit, and Delete Exams and Quizzes | Association: the exam/quiz linked to a course/topic as appropriate | TC-SA-08-01-007 |
| 1.1 Create, Edit, and Delete Exams and Quizzes | Audit logging of exam/quiz create/edit/delete | TC-SA-08-01-008 |
| 1.1 Create, Edit, and Delete Exams and Quizzes | Rule: an exam/quiz is built from the question bank and configured per the assessment rules; it is the assessment instrument | TC-SA-08-01-010 |
| 1.1 Create, Edit, and Delete Exams and Quizzes | Rule: an exam/quiz with attempts is retired, not deleted; deletion is reserved for those with no dependencies | TC-SA-08-01-006 |
| 1.1 Create, Edit, and Delete Exams and Quizzes | Rule: retiring stops new attempts but preserves the attempt history (the learners' results remain intact) | TC-SA-08-01-009 |
| 1.1 Create, Edit, and Delete Exams and Quizzes | Rule: the dependency check runs before delete and blocks it with the specific reason where attempts exist | TC-SA-08-01-006 |
| 1.1 Create, Edit, and Delete Exams and Quizzes | Rule: an exam/quiz is associated with a course/topic; the association is its context | TC-SA-08-01-007 |
| 1.1 Create, Edit, and Delete Exams and Quizzes | Rule: all exam/quiz changes are audit-logged with the acting admin and timestamp | TC-SA-08-01-008 |
| 1.2 Video-Wise Assessments (Auto-Generated Quizzes) | Auto-generation: a quiz generated from the video's content | TC-SA-08-01-011 |
| 1.2 Video-Wise Assessments (Auto-Generated Quizzes) | Per-video: a quiz after each video in the course | TC-SA-08-01-012 |
| 1.2 Video-Wise Assessments (Auto-Generated Quizzes) | Generation source: the video content (the topics/concepts covered) | TC-SA-08-01-013 |
| 1.2 Video-Wise Assessments (Auto-Generated Quizzes) | Enablement: the video-wise assessment enabled per course | TC-SA-08-01-014 |
| 1.2 Video-Wise Assessments (Auto-Generated Quizzes) | Question count: the number of questions per video quiz | TC-SA-08-01-015 |
| 1.2 Video-Wise Assessments (Auto-Generated Quizzes) | Flow integration: the quiz presented after the video, before the next | TC-SA-08-01-016 |
| 1.2 Video-Wise Assessments (Auto-Generated Quizzes) | Review: the generated quizzes checked for accuracy before they go live | TC-SA-08-01-017 |
| 1.2 Video-Wise Assessments (Auto-Generated Quizzes) | Audit logging of enablement and generation settings | TC-SA-08-01-018 |
| 1.2 Video-Wise Assessments (Auto-Generated Quizzes) | Rule: a video-wise quiz is auto-generated from the video's content; it is per video, in the learning flow | TC-SA-08-01-011 |
| 1.2 Video-Wise Assessments (Auto-Generated Quizzes) | Rule: the generated questions are reviewed for accuracy before going live; an inaccurate question is corrected or removed | TC-SA-08-01-017 |
| 1.2 Video-Wise Assessments (Auto-Generated Quizzes) | Rule: the quiz is presented after the video, before the next; it is part of the flow, not a separate event | TC-SA-08-01-016 |
| 1.2 Video-Wise Assessments (Auto-Generated Quizzes) | Rule: a content update (a re-cut) triggers a quiz regeneration/review; the quiz matches the current content | TC-SA-08-01-019 |
| 1.2 Video-Wise Assessments (Auto-Generated Quizzes) | Rule: the generation parameters (question count, types) are set per course; they are explicit | TC-SA-08-01-020 |
| 1.2 Video-Wise Assessments (Auto-Generated Quizzes) | Rule: enablement and generation settings are audit-logged with the course, settings, and timestamp | TC-SA-08-01-018 |
| 1.3 Practice Quizzes, Mock Tests, and Full-Length/Sectional/Timed Tests | Practice quizzes: low-stakes quizzes for rehearsal (no high consequence) | TC-SA-08-01-021 |
| 1.3 Practice Quizzes, Mock Tests, and Full-Length/Sectional/Timed Tests | Mock tests: realistic dress rehearsals (the format and pressure of the real test) | TC-SA-08-01-022 |
| 1.3 Practice Quizzes, Mock Tests, and Full-Length/Sectional/Timed Tests | Full-length tests: the complete assessment (all sections) | TC-SA-08-01-023 |
| 1.3 Practice Quizzes, Mock Tests, and Full-Length/Sectional/Timed Tests | Sectional tests: a portion of the assessment (a section or topic) | TC-SA-08-01-024 |
| 1.3 Practice Quizzes, Mock Tests, and Full-Length/Sectional/Timed Tests | Timed tests: a duration constraint set (the test must be completed in the time) | TC-SA-08-01-025 |
| 1.3 Practice Quizzes, Mock Tests, and Full-Length/Sectional/Timed Tests | Format configuration: the question count, marks, and duration per format | TC-SA-08-01-026 |
| 1.3 Practice Quizzes, Mock Tests, and Full-Length/Sectional/Timed Tests | Stakes setting: the consequence of the result (practice vs. evaluated) | TC-SA-08-01-027 |
| 1.3 Practice Quizzes, Mock Tests, and Full-Length/Sectional/Timed Tests | Audit logging of format create/configuration | TC-SA-08-01-028 |
| 1.3 Practice Quizzes, Mock Tests, and Full-Length/Sectional/Timed Tests | Rule: the formats serve different purposes: practice (rehearsal), mock (dress rehearsal), full-length (complete evaluation), sectional (focused evaluation), timed (time-constrained) | TC-SA-08-01-021, TC-SA-08-01-022, TC-SA-08-01-023, TC-SA-08-01-024, TC-SA-08-01-025 |
| 1.3 Practice Quizzes, Mock Tests, and Full-Length/Sectional/Timed Tests | Rule: the stakes are set per format: practice is low-stakes (feedback), the evaluated tests count toward the result | TC-SA-08-01-027 |
| 1.3 Practice Quizzes, Mock Tests, and Full-Length/Sectional/Timed Tests | Rule: the timed test enforces the duration; the test ends at the time (the answers submitted are scored) | TC-SA-08-01-029 |
| 1.3 Practice Quizzes, Mock Tests, and Full-Length/Sectional/Timed Tests | Rule: the format configuration (question count, marks, duration) is explicit per format | TC-SA-08-01-026 |
| 1.3 Practice Quizzes, Mock Tests, and Full-Length/Sectional/Timed Tests | Rule: a mock test mirrors the real test's format and pressure; it is a rehearsal, not the evaluation | TC-SA-08-01-030 |
| 1.3 Practice Quizzes, Mock Tests, and Full-Length/Sectional/Timed Tests | Rule: format create/configuration is audit-logged with the course, format, and timestamp | TC-SA-08-01-028 |

## 1.1 Create, Edit, and Delete Exams and Quizzes

### TC-SA-08-01-001 — Create an exam or quiz: title, description, and the question set
**Type:** Positive
**Covers:** 1.1 → Create an exam or quiz: title, description, and the question set
**Preconditions:** A quiz is needed for a topic; the question bank has questions for the topic.
**Steps:**
1. Open Assessment Management → Exam & Quiz Setup.
2. Create the quiz: set the title, the description, and select the question set from the question bank.
3. Save and verify the quiz appears in the list.
**Expected Result:** The quiz is created with its title, description, and question set — it appears in the list and is available for association.
**Priority:** Critical

### TC-SA-08-01-002 — Edit an exam/quiz (questions, settings, description); the change is recorded
**Type:** Positive
**Covers:** 1.1 → Edit an exam/quiz (questions, settings, description)
**Preconditions:** A quiz exists; a question in it has an error (a revision is needed).
**Steps:**
1. Open the quiz for editing.
2. Replace the erroneous question, and adjust the settings and description as needed.
3. Save and verify the change is recorded.
**Expected Result:** The quiz is edited — the question is replaced, the settings and description are updated, and the change is recorded.
**Priority:** Critical

### TC-SA-08-01-003 — Delete a draft quiz created in error with no attempts; the dependency check passes and the quiz is removed
**Type:** Positive
**Covers:** 1.1 → Delete or retire an exam/quiz (with the attempt history preserved)
**Preconditions:** A draft quiz was created in error; it has no attempts.
**Steps:**
1. Initiate the deletion of the draft quiz.
2. Verify the dependency check passes (no attempts).
3. Confirm the deletion and verify the quiz is removed.
**Expected Result:** The draft quiz with no attempts is deleted — the dependency check passes and the quiz is removed.
**Priority:** High

### TC-SA-08-01-004 — Retire an exam no longer used (a superseded version) with attempts; the attempt history is preserved
**Type:** Positive
**Covers:** 1.1 → Delete or retire an exam/quiz (with the attempt history preserved)
**Preconditions:** An exam is superseded (no longer used); it has attempts.
**Steps:**
1. Review the exam's dependency: attempts exist.
2. Retire the exam (it is no longer offered for new attempts).
3. Verify the attempt history is preserved (the learners' results remain).
**Expected Result:** The exam is retired — it is no longer offered for new attempts, but the attempt history (the learners' results) is preserved.
**Priority:** Critical

### TC-SA-08-01-005 — Exam/quiz list with status, question count, and attempt counts
**Type:** Positive
**Covers:** 1.1 → Exam/quiz list with status, question count, and attempt counts
**Preconditions:** Multiple exams and quizzes exist with various statuses and attempts.
**Steps:**
1. Open the exam/quiz list.
2. Verify each entry shows the status, the question count, and the attempt counts.
**Expected Result:** The exam/quiz list shows the status, question count, and attempt counts for each exam/quiz.
**Priority:** High

### TC-SA-08-01-006 — Dependency check before delete: deletion blocked with the specific reason where attempts exist; deletion is reserved for those with no dependencies
**Type:** Negative
**Covers:** 1.1 → Dependency check before delete: exams with attempts are flagged for retire; Rule: an exam/quiz with attempts is retired, not deleted; deletion is reserved for those with no dependencies; Rule: the dependency check runs before delete and blocks it with the specific reason where attempts exist
**Preconditions:** An exam has attempts (learners have taken it).
**Steps:**
1. Initiate the deletion of the exam.
2. Verify the dependency check runs before delete and blocks it with the specific reason (attempts exist).
3. Verify the exam is flagged for retire instead.
**Expected Result:** The deletion is blocked with the specific reason (attempts exist) — the exam is flagged for retire, not deleted.
**Priority:** Critical

### TC-SA-08-01-007 — Association: the exam/quiz linked to a course/topic as appropriate; the association is its context
**Type:** Positive
**Covers:** 1.1 → Association: the exam/quiz linked to a course/topic as appropriate; Rule: an exam/quiz is associated with a course/topic; the association is its context
**Preconditions:** A quiz is created; a course/topic exists.
**Steps:**
1. Associate the quiz with the course/topic.
2. Verify the association is its context (the quiz is available in that context).
**Expected Result:** The quiz is associated with the course/topic — the association is its context.
**Priority:** High

### TC-SA-08-01-008 — Exam/quiz create, edit, retire, and delete are audit-logged with the acting admin and timestamp
**Type:** Positive
**Covers:** 1.1 → Audit logging of exam/quiz create/edit/delete; Rule: all exam/quiz changes are audit-logged with the acting admin and timestamp
**Preconditions:** Exam/quiz create, edit, retire, and delete events have occurred.
**Steps:**
1. Open the audit trail and filter by "exam/quiz".
2. Verify entries for create, edit, retire, and delete show the acting admin and the timestamp.
**Expected Result:** Each exam/quiz create, edit, retire, and delete is audit-logged with the acting admin and timestamp.
**Priority:** Critical

### TC-SA-08-01-009 — Retiring stops new attempts but preserves the attempt history (the learners' results remain intact)
**Type:** Edge
**Covers:** 1.1 → Rule: retiring stops new attempts but preserves the attempt history (the learners' results remain intact)
**Preconditions:** An exam with attempts is retired.
**Steps:**
1. Retire the exam.
2. Verify new attempts are no longer possible (the exam is not offered).
3. Verify the learners' existing results remain intact and accessible.
**Expected Result:** Retiring stops new attempts — the attempt history (the learners' results) remains intact.
**Priority:** Critical

### TC-SA-08-01-010 — An exam/quiz is built from the question bank and configured per the assessment rules; it is the assessment instrument
**Type:** Positive
**Covers:** 1.1 → Rule: an exam/quiz is built from the question bank and configured per the assessment rules; it is the assessment instrument
**Preconditions:** The question bank has questions; the assessment rules are configured.
**Steps:**
1. Build an exam from the question bank (selecting questions).
2. Configure it per the assessment rules (passing score, duration, retake rule).
3. Verify the exam is the assessment instrument learners take.
**Expected Result:** The exam is built from the question bank and configured per the assessment rules — it is the assessment instrument.
**Priority:** High

## 1.2 Video-Wise Assessments (Auto-Generated Quizzes)

### TC-SA-08-01-011 — Auto-generation: a quiz generated from the video's content; it is per video, in the learning flow
**Type:** Positive
**Covers:** 1.2 → Auto-generation: a quiz generated from the video's content; Rule: a video-wise quiz is auto-generated from the video's content; it is per video, in the learning flow
**Preconditions:** A course has videos; video-wise assessments are enabled for the course.
**Steps:**
1. Enable the video-wise assessments for the course.
2. Verify the platform generates a quiz from each video's content.
3. Verify the quiz is per video, in the learning flow.
**Expected Result:** A quiz is auto-generated from each video's content — it is per video, in the learning flow.
**Priority:** Critical

### TC-SA-08-01-012 — Per-video: a quiz after each video in the course
**Type:** Positive
**Covers:** 1.2 → Per-video: a quiz after each video in the course
**Preconditions:** A course has multiple videos; video-wise assessments are enabled.
**Steps:**
1. Verify a quiz is generated after each video in the course.
2. Verify each video has its own quiz (per-video).
**Expected Result:** A quiz is generated after each video in the course — per-video.
**Priority:** High

### TC-SA-08-01-013 — Generation source: the video content (the topics/concepts covered)
**Type:** Positive
**Covers:** 1.2 → Generation source: the video content (the topics/concepts covered)
**Preconditions:** A video covers specific topics/concepts; video-wise assessments are enabled.
**Steps:**
1. Generate the quiz for the video.
2. Verify the questions are based on the video's content (the topics/concepts covered).
**Expected Result:** The quiz is generated from the video's content — the questions match the topics/concepts covered.
**Priority:** High

### TC-SA-08-01-014 — Enablement: the video-wise assessment enabled per course
**Type:** Positive
**Covers:** 1.2 → Enablement: the video-wise assessment enabled per course
**Preconditions:** A course exists; video-wise assessments are not yet enabled for it.
**Steps:**
1. Enable the video-wise assessment for the course.
2. Verify the enablement is per course (other courses are unaffected).
**Expected Result:** The video-wise assessment is enabled per course — the course has video-wise quizzes, others are unaffected.
**Priority:** High

### TC-SA-08-01-015 — Question count: the number of questions per video quiz
**Type:** Positive
**Covers:** 1.2 → Question count: the number of questions per video quiz
**Preconditions:** Video-wise assessments are enabled for a course.
**Steps:**
1. Set the question count per video quiz (the generation parameter).
2. Generate the quizzes and verify each has the set number of questions.
**Expected Result:** The question count per video quiz is set — each generated quiz has the set number of questions.
**Priority:** Medium

### TC-SA-08-01-016 — Flow integration: the quiz presented after the video, before the next; it is part of the flow, not a separate event
**Type:** Positive
**Covers:** 1.2 → Flow integration: the quiz presented after the video, before the next; Rule: the quiz is presented after the video, before the next; it is part of the flow, not a separate event
**Preconditions:** A learner is progressing through a course with video-wise assessments enabled.
**Steps:**
1. As the learner, watch a video.
2. Verify the quiz is presented after the video, before the learner proceeds to the next.
3. Verify the check is in the learning flow (not a separate event).
**Expected Result:** The quiz is presented after the video, before the next — it is part of the flow, not a separate event.
**Priority:** Critical

### TC-SA-08-01-017 — Review: the generated quizzes checked for accuracy before they go live; an inaccurate question is corrected or removed
**Type:** Negative
**Covers:** 1.2 → Review: the generated quizzes checked for accuracy before they go live; Rule: the generated questions are reviewed for accuracy before going live; an inaccurate question is corrected or removed
**Preconditions:** Generated quizzes contain an inaccurate or off-topic question.
**Steps:**
1. Review the generated quizzes for accuracy (the questions match the video's content and are correct).
2. Identify the inaccurate or off-topic question.
3. Correct or remove it and verify the corrected quiz goes live.
**Expected Result:** The generated quizzes are reviewed for accuracy — the inaccurate question is corrected or removed before going live.
**Priority:** Critical

### TC-SA-08-01-018 — Enablement and generation settings are audit-logged with the course, the settings, and the timestamp
**Type:** Positive
**Covers:** 1.2 → Audit logging of enablement and generation settings; Rule: enablement and generation settings are audit-logged with the course, settings, and timestamp
**Preconditions:** Video-wise assessment enablement and generation settings have been changed.
**Steps:**
1. Open the audit trail and filter by "video-wise assessment".
2. Verify entries show the course, the settings, and the timestamp.
**Expected Result:** The enablement and generation settings are audit-logged with the course, settings, and timestamp.
**Priority:** Critical

### TC-SA-08-01-019 — A content update (a re-cut) triggers a quiz regeneration/review; the quiz matches the current content
**Type:** Edge
**Covers:** 1.2 → Rule: a content update (a re-cut) triggers a quiz regeneration/review; the quiz matches the current content
**Preconditions:** A video's content is updated (a re-cut); its quiz was generated from the prior content.
**Steps:**
1. Update the video's content (a re-cut).
2. Verify the quiz is regenerated (or reviewed) to match the new content.
3. Verify the change is recorded.
**Expected Result:** The content update triggers a quiz regeneration/review — the quiz matches the current content.
**Priority:** High

### TC-SA-08-01-020 — The generation parameters (question count, types) are set per course; they are explicit
**Type:** Positive
**Covers:** 1.2 → Rule: the generation parameters (question count, types) are set per course; they are explicit
**Preconditions:** Video-wise assessments are enabled for a course.
**Steps:**
1. Set the generation parameters: the question count per video quiz and the question types used.
2. Verify the parameters are explicit per course.
**Expected Result:** The generation parameters (question count, types) are set per course — they are explicit.
**Priority:** Medium

## 1.3 Practice Quizzes, Mock Tests, and Full-Length/Sectional/Timed Tests

### TC-SA-08-01-021 — Practice quizzes: low-stakes quizzes for rehearsal (no high consequence)
**Type:** Positive
**Covers:** 1.3 → Practice quizzes: low-stakes quizzes for rehearsal (no high consequence); Rule: the formats serve different purposes: practice (rehearsal)
**Preconditions:** A course exists; learners need rehearsal.
**Steps:**
1. Create the practice quizzes: low-stakes quizzes for the learners to rehearse.
2. Verify the result has no high consequence (it is for feedback).
**Expected Result:** The practice quizzes are created — low-stakes, for rehearsal, with no high consequence on the result.
**Priority:** High

### TC-SA-08-01-022 — Mock tests: realistic dress rehearsals (the format and pressure of the real test)
**Type:** Positive
**Covers:** 1.3 → Mock tests: realistic dress rehearsals (the format and pressure of the real test); Rule: the formats serve different purposes: mock (dress rehearsal)
**Preconditions:** A course exists; learners need a dress rehearsal.
**Steps:**
1. Create the mock tests: realistic dress rehearsals that mirror the real test's format and time pressure.
2. Verify the learners are prepared (the format and pressure match the real test).
**Expected Result:** The mock tests are created — realistic dress rehearsals mirroring the real test's format and pressure.
**Priority:** High

### TC-SA-08-01-023 — Full-length tests: the complete assessment (all sections)
**Type:** Positive
**Covers:** 1.3 → Full-length tests: the complete assessment (all sections); Rule: the formats serve different purposes: full-length (complete evaluation)
**Preconditions:** A course exists; the complete assessment is needed.
**Steps:**
1. Create the full-length test: the complete assessment (all sections).
2. Verify it covers all sections.
**Expected Result:** The full-length test is created — the complete assessment (all sections).
**Priority:** Critical

### TC-SA-08-01-024 — Sectional tests: a portion of the assessment (a section or topic)
**Type:** Positive
**Covers:** 1.3 → Sectional tests: a portion of the assessment (a section or topic); Rule: the formats serve different purposes: sectional (focused evaluation)
**Preconditions:** A course exists; focused evaluation of a section/topic is needed.
**Steps:**
1. Create the sectional tests: the portions (a section or topic) for focused evaluation.
2. Verify each covers the specified section/topic.
**Expected Result:** The sectional tests are created — portions (a section or topic) for focused evaluation.
**Priority:** High

### TC-SA-08-01-025 — Timed tests: a duration constraint set (the test must be completed in the time)
**Type:** Positive
**Covers:** 1.3 → Timed tests: a duration constraint set (the test must be completed in the time); Rule: the formats serve different purposes: timed (time-constrained)
**Preconditions:** A course exists; a time-constrained test is needed.
**Steps:**
1. Create the timed test: set the duration constraint (the test must be completed in the set time).
2. Verify the time pressure is realistic.
**Expected Result:** The timed test is created — the duration constraint is set (the test must be completed in the time).
**Priority:** High

### TC-SA-08-01-026 — Format configuration: the question count, marks, and duration per format; the configuration is explicit per format
**Type:** Positive
**Covers:** 1.3 → Format configuration: the question count, marks, and duration per format; Rule: the format configuration (question count, marks, duration) is explicit per format
**Preconditions:** Assessment formats are created for a course.
**Steps:**
1. Configure each format: the question count, the marks, and the duration, per the format's purpose.
2. Verify the configuration is explicit per format.
**Expected Result:** Each format is configured — the question count, marks, and duration are explicit per format.
**Priority:** High

### TC-SA-08-01-027 — Stakes setting: the consequence of the result (practice vs. evaluated); practice is low-stakes (feedback), the evaluated tests count toward the result
**Type:** Positive
**Covers:** 1.3 → Stakes setting: the consequence of the result (practice vs. evaluated); Rule: the stakes are set per format: practice is low-stakes (feedback), the evaluated tests count toward the result
**Preconditions:** Practice quizzes and evaluated tests exist for a course.
**Steps:**
1. Set the stakes: the practice quizzes are low-stakes (the result is for feedback).
2. Set the full-length/sectional tests as evaluated (the result counts).
3. Verify each is recorded per its stakes.
**Expected Result:** The stakes are set per format — practice is low-stakes (feedback), the evaluated tests count toward the result.
**Priority:** Critical

### TC-SA-08-01-028 — Format create and configuration are audit-logged with the course, the format, and the timestamp
**Type:** Positive
**Covers:** 1.3 → Audit logging of format create/configuration; Rule: format create/configuration is audit-logged with the course, format, and timestamp
**Preconditions:** Assessment formats have been created and configured.
**Steps:**
1. Open the audit trail and filter by "assessment format".
2. Verify entries for create and configuration show the course, the format, and the timestamp.
**Expected Result:** The format create and configuration are audit-logged with the course, format, and timestamp.
**Priority:** Critical

### TC-SA-08-01-029 — The timed test enforces the duration; the test ends at the time (the answers submitted are scored)
**Type:** Edge
**Covers:** 1.3 → Rule: the timed test enforces the duration; the test ends at the time (the answers submitted are scored)
**Preconditions:** A timed test is live; a learner is taking it.
**Steps:**
1. As the learner, take the timed test and do not submit before the time ends.
2. Verify the test ends at the time (the duration is enforced).
3. Verify the answers submitted (up to that point) are scored.
**Expected Result:** The timed test enforces the duration — the test ends at the time, and the answers submitted are scored.
**Priority:** Critical

### TC-SA-08-01-030 — A mock test mirrors the real test's format and pressure; it is a rehearsal, not the evaluation
**Type:** Edge
**Covers:** 1.3 → Rule: a mock test mirrors the real test's format and pressure; it is a rehearsal, not the evaluation
**Preconditions:** A mock test and the real test exist for a course.
**Steps:**
1. Compare the mock test with the real test's format and time pressure.
2. Verify the mock test mirrors the real test (format and pressure).
3. Verify the mock test result is a rehearsal (it does not count as the evaluation).
**Expected Result:** The mock test mirrors the real test's format and pressure — it is a rehearsal, not the evaluation.
**Priority:** High
