# 2. Career Aptitude Assessment — Test Cases

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

## Test Execution Policy

- Zero tolerance: any deviation from the documented behavior is a defect.
- Every failed test is logged with a Bug ID, the feature, the sub-feature, the expected vs actual result, and the severity; 100% of bugs are fixed before the group passes.
- 100% pass rate is required for the group to be marked complete.

## Coverage Matrix

| Feature | Sub-feature / Rule | Test IDs |
|---------|--------------------|----------|
| 2.1 Assessment Configuration | Assessment creation | TC-SA-CG-02-001 |
| 2.1 Assessment Configuration | Question bank | TC-SA-CG-02-002 |
| 2.1 Assessment Configuration | Dimension mapping | TC-SA-CG-02-003 |
| 2.1 Assessment Configuration | Scoring model | TC-SA-CG-02-004 |
| 2.1 Assessment Configuration | Assessment settings | TC-SA-CG-02-005 |
| 2.1 Assessment Configuration | Rule: a creation requires a name and at least one question | TC-SA-CG-02-006 |
| 2.1 Assessment Configuration | Rule: an assessment with no mapped questions cannot be delivered | TC-SA-CG-02-007 |
| 2.1 Assessment Configuration | Rule: configuration changes are audit-logged | TC-SA-CG-02-008 |
| 2.2 Assessment Delivery | Assignment | TC-SA-CG-02-009 |
| 2.2 Assessment Delivery | Delivery window | TC-SA-CG-02-010 |
| 2.2 Assessment Delivery | Attempt tracking | TC-SA-CG-02-011 |
| 2.2 Assessment Delivery | Retake policy | TC-SA-CG-02-012 |
| 2.2 Assessment Delivery | Delivery status | TC-SA-CG-02-013 |
| 2.2 Assessment Delivery | Rule: an attempt outside the window is blocked | TC-SA-CG-02-014 |
| 2.2 Assessment Delivery | Rule: delivery actions are audit-logged | TC-SA-CG-02-015 |
| 2.3 Aptitude Scoring | Dimension scores | TC-SA-CG-02-016 |
| 2.3 Aptitude Scoring | Overall profile | TC-SA-CG-02-017 |
| 2.3 Aptitude Scoring | Score normalization | TC-SA-CG-02-018 |
| 2.3 Aptitude Scoring | Score thresholds | TC-SA-CG-02-019 |
| 2.3 Aptitude Scoring | Score report | TC-SA-CG-02-020 |
| 2.3 Aptitude Scoring | Rule: a score with no answers is marked incomplete | TC-SA-CG-02-021 |
| 2.3 Aptitude Scoring | Rule: scoring actions are audit-logged | TC-SA-CG-02-022 |
| 2.4 Aptitude Profile | Profile creation | TC-SA-CG-02-023 |
| 2.4 Aptitude Profile | Profile dimensions | TC-SA-CG-02-024 |
| 2.4 Aptitude Profile | Profile strengths | TC-SA-CG-02-025 |
| 2.4 Aptitude Profile | Profile history | TC-SA-CG-02-026 |
| 2.4 Aptitude Profile | Profile sharing | TC-SA-CG-02-027 |
| 2.4 Aptitude Profile | Rule: a profile with no completed assessment is not created | TC-SA-CG-02-028 |
| 2.4 Aptitude Profile | Rule: profile actions are audit-logged | TC-SA-CG-02-029 |
| 2.5 Assessment Analytics | Completion rate | TC-SA-CG-02-030 |
| 2.5 Assessment Analytics | Dimension distribution | TC-SA-CG-02-031 |
| 2.5 Assessment Analytics | Strength trends | TC-SA-CG-02-032 |
| 2.5 Assessment Analytics | Per-institute breakdown | TC-SA-CG-02-033 |
| 2.5 Assessment Analytics | Rule: a report is exportable in CSV | TC-SA-CG-02-034 |
| 2.5 Assessment Analytics | Rule: a report reflects the selected date range | TC-SA-CG-02-035 |
| 2.5 Assessment Analytics | Rule: report generation is audit-logged | TC-SA-CG-02-036 |

### TC-SA-CG-02-001 — Assessment creation
**Type:** Positive
**Covers:** 2.1 → Assessment creation: the creation of an aptitude assessment
**Preconditions:** A Super Admin account is active.
**Steps:**
1. As a Super Admin, create an assessment with a name and at least one question.
2. Save the assessment.
3. Observe the result and verify the full behavior: the assessment is created and listed.
**Expected Result:** The creation works — the assessment is listed, delivered exactly as documented.
**Priority:** High

### TC-SA-CG-02-002 — Question bank
**Type:** Positive
**Covers:** 2.1 → Question bank: the questions in the assessment
**Preconditions:** A Super Admin account is active; the question bank has questions.
**Steps:**
1. As a Super Admin, open the question bank.
2. Observe the result and verify the full behavior: the reusable questions are listed.
**Expected Result:** The bank is shown — the questions are listed, delivered exactly as documented.
**Priority:** Medium

### TC-SA-CG-02-003 — Dimension mapping
**Type:** Positive
**Covers:** 2.1 → Dimension mapping: the mapping of questions to aptitude dimensions
**Preconditions:** A Super Admin account is active; an assessment and dimensions exist.
**Steps:**
1. As a Super Admin, map a question to a dimension and save.
2. Observe the result and verify the full behavior: the mapping is recorded.
**Expected Result:** The mapping is applied — it is recorded, delivered exactly as documented.
**Priority:** High

### TC-SA-CG-02-004 — Scoring model
**Type:** Positive
**Covers:** 2.1 → Scoring model: the scoring model for the assessment
**Preconditions:** A Super Admin account is active; an assessment exists.
**Steps:**
1. As a Super Admin, set the scoring model and save.
2. Observe the result and verify the full behavior: the model is applied to scoring.
**Expected Result:** The model is set — it is applied, delivered exactly as documented.
**Priority:** High

### TC-SA-CG-02-005 — Assessment settings
**Type:** Positive
**Covers:** 2.1 → Assessment settings: the time limit and attempt rules
**Preconditions:** A Super Admin account is active; an assessment exists.
**Steps:**
1. As a Super Admin, set the time limit and attempt rules and save.
2. Observe the result and verify the full behavior: the settings are shown.
**Expected Result:** The settings are set — they are shown, delivered exactly as documented.
**Priority:** Medium

### TC-SA-CG-02-006 — Rule: a creation requires a name and at least one question
**Type:** Negative
**Covers:** 2.1 → Rule: an assessment creation requires a name and at least one question
**Preconditions:** A Super Admin account is active; no question is added.
**Steps:**
1. As a Super Admin, attempt to create the assessment without a question.
2. Observe the result and verify the full behavior: the creation is blocked with a validation error.
**Expected Result:** The creation is blocked — the required fields are enforced, delivered exactly as documented.
**Priority:** High

### TC-SA-CG-02-007 — Rule: an assessment with no mapped questions cannot be delivered
**Type:** Negative
**Covers:** 2.1 → Rule: an assessment with no mapped questions cannot be delivered
**Preconditions:** A Super Admin account is active; an assessment has no mapped questions.
**Steps:**
1. As a Super Admin, attempt to deliver the assessment.
2. Observe the result and verify the full behavior: the delivery is blocked.
**Expected Result:** The delivery is blocked — the mapping precondition is enforced, delivered exactly as documented.
**Priority:** High

### TC-SA-CG-02-008 — Rule: configuration changes are audit-logged
**Type:** Positive
**Covers:** 2.1 → Audit logging of assessment configuration
**Preconditions:** A Super Admin account is active; the audit log is accessible.
**Steps:**
1. As a Super Admin, create an assessment and save.
2. Open the audit log.
3. Observe the result and verify the full behavior: the change is recorded with the actor and timestamp.
**Expected Result:** The change is audit-logged — the actor and timestamp are recorded, delivered exactly as documented.
**Priority:** High

### TC-SA-CG-02-009 — Assignment
**Type:** Positive
**Covers:** 2.2 → Assignment: the assignment of the assessment to learners
**Preconditions:** A Super Admin account is active; an assessment and learners exist.
**Steps:**
1. As a Super Admin, assign the assessment to the learners and save.
2. Observe the result and verify the full behavior: the assessment is available to the learners.
**Expected Result:** The assignment works — the assessment is available, delivered exactly as documented.
**Priority:** High

### TC-SA-CG-02-010 — Delivery window
**Type:** Positive
**Covers:** 2.2 → Delivery window: the window in which the assessment is available
**Preconditions:** A Super Admin account is active; an assessment is assigned.
**Steps:**
1. As a Super Admin, set the delivery window and save.
2. Observe the result and verify the full behavior: the window is shown.
**Expected Result:** The window is set — it is shown, delivered exactly as documented.
**Priority:** Medium

### TC-SA-CG-02-011 — Attempt tracking
**Type:** Positive
**Covers:** 2.2 → Attempt tracking: the tracking of learner attempts
**Preconditions:** A Super Admin account is active; learners have attempted the assessment.
**Steps:**
1. As a Super Admin, open the attempt tracking.
2. Observe the result and verify the full behavior: the attempts are listed.
**Expected Result:** The tracking is shown — the attempts are listed, delivered exactly as documented.
**Priority:** Medium

### TC-SA-CG-02-012 — Retake policy
**Type:** Positive
**Covers:** 2.2 → Retake policy: the policy for retaking the assessment
**Preconditions:** A Super Admin account is active; an assessment is assigned.
**Steps:**
1. As a Super Admin, set the retake policy and save.
2. Observe the result and verify the full behavior: the policy is applied.
**Expected Result:** The policy is set — it is applied, delivered exactly as documented.
**Priority:** Medium

### TC-SA-CG-02-013 — Delivery status
**Type:** Positive
**Covers:** 2.2 → Delivery status: the status of the delivery
**Preconditions:** A Super Admin account is active; an assessment is in delivery.
**Steps:**
1. As a Super Admin, view the delivery status.
2. Observe the result and verify the full behavior: the progress is shown.
**Expected Result:** The status is shown — it reflects the progress, delivered exactly as documented.
**Priority:** Low

### TC-SA-CG-02-014 — Rule: an attempt outside the window is blocked
**Type:** Negative
**Covers:** 2.2 → Rule: an attempt outside the window is blocked
**Preconditions:** A Super Admin account is active; the delivery window has closed.
**Steps:**
1. As a learner, attempt to take the assessment.
2. Observe the result and verify the full behavior: the attempt is blocked.
**Expected Result:** The attempt is blocked — the window is enforced, delivered exactly as documented.
**Priority:** High

### TC-SA-CG-02-015 — Rule: delivery actions are audit-logged
**Type:** Positive
**Covers:** 2.2 → Audit logging of assessment delivery
**Preconditions:** A Super Admin account is active; the audit log is accessible.
**Steps:**
1. As a Super Admin, assign the assessment and save.
2. Open the audit log.
3. Observe the result and verify the full behavior: the action is recorded with the actor and timestamp.
**Expected Result:** The action is audit-logged — the actor and timestamp are recorded, delivered exactly as documented.
**Priority:** High

### TC-SA-CG-02-016 — Dimension scores
**Type:** Positive
**Covers:** 2.3 → Dimension scores: the score per aptitude dimension
**Preconditions:** A Super Admin account is active; a learner has completed the assessment.
**Steps:**
1. As a Super Admin, open the aptitude scoring.
2. Observe the result and verify the full behavior: the score per dimension is shown.
**Expected Result:** The scores are shown — they are computed, delivered exactly as documented.
**Priority:** High

### TC-SA-CG-02-017 — Overall profile
**Type:** Positive
**Covers:** 2.3 → Overall profile: the overall aptitude profile
**Preconditions:** A Super Admin account is active; a learner has completed the assessment.
**Steps:**
1. As a Super Admin, view the overall profile.
2. Observe the result and verify the full behavior: the aggregated profile is shown.
**Expected Result:** The profile is shown — it is aggregated, delivered exactly as documented.
**Priority:** High

### TC-SA-CG-02-018 — Score normalization
**Type:** Positive
**Covers:** 2.3 → Score normalization: the normalization of the scores
**Preconditions:** A Super Admin account is active; scores exist.
**Steps:**
1. As a Super Admin, apply the normalization.
2. Observe the result and verify the full behavior: the scores are scaled to the common range.
**Expected Result:** The normalization is applied — the scores are scaled, delivered exactly as documented.
**Priority:** Medium

### TC-SA-CG-02-019 — Score thresholds
**Type:** Positive
**Covers:** 2.3 → Score thresholds: the thresholds for strength levels
**Preconditions:** A Super Admin account is active; scores exist.
**Steps:**
1. As a Super Admin, set the thresholds and save.
2. Observe the result and verify the full behavior: the strength levels are assigned.
**Expected Result:** The thresholds are set — the levels are assigned, delivered exactly as documented.
**Priority:** Medium

### TC-SA-CG-02-020 — Score report
**Type:** Positive
**Covers:** 2.3 → Score report: the report of the scores
**Preconditions:** A Super Admin account is active; scores exist.
**Steps:**
1. As a Super Admin, generate the score report.
2. Observe the result and verify the full behavior: the report summarizes the scores.
**Expected Result:** The report is generated — it summarizes the scores, delivered exactly as documented.
**Priority:** Medium

### TC-SA-CG-02-021 — Rule: a score with no answers is marked incomplete
**Type:** Positive
**Covers:** 2.3 → Rule: a score with no answers is marked incomplete
**Preconditions:** A Super Admin account is active; a learner has no answers.
**Steps:**
1. As a Super Admin, view the score.
2. Observe the result and verify the full behavior: the score is marked incomplete.
**Expected Result:** The score is marked — it is incomplete, delivered exactly as documented.
**Priority:** Medium

### TC-SA-CG-02-022 — Rule: scoring actions are audit-logged
**Type:** Positive
**Covers:** 2.3 → Audit logging of aptitude scoring
**Preconditions:** A Super Admin account is active; the audit log is accessible.
**Steps:**
1. As a Super Admin, set the thresholds and save.
2. Open the audit log.
3. Observe the result and verify the full behavior: the action is recorded with the actor and timestamp.
**Expected Result:** The action is audit-logged — the actor and timestamp are recorded, delivered exactly as documented.
**Priority:** High

### TC-SA-CG-02-023 — Profile creation
**Type:** Positive
**Covers:** 2.4 → Profile creation: the creation of a learner's aptitude profile
**Preconditions:** A Super Admin account is active; a learner has completed the assessment.
**Steps:**
1. As a Super Admin, view the learner's profile.
2. Observe the result and verify the full behavior: the profile is created.
**Expected Result:** The profile is created — it is available, delivered exactly as documented.
**Priority:** High

### TC-SA-CG-02-024 — Profile dimensions
**Type:** Positive
**Covers:** 2.4 → Profile dimensions: the dimensions in the profile
**Preconditions:** A Super Admin account is active; a profile exists.
**Steps:**
1. As a Super Admin, view the profile dimensions.
2. Observe the result and verify the full behavior: the score per dimension is listed.
**Expected Result:** The dimensions are shown — they are listed, delivered exactly as documented.
**Priority:** Medium

### TC-SA-CG-02-025 — Profile strengths
**Type:** Positive
**Covers:** 2.4 → Profile strengths: the top strengths in the profile
**Preconditions:** A Super Admin account is active; a profile exists.
**Steps:**
1. As a Super Admin, view the profile strengths.
2. Observe the result and verify the full behavior: the top dimensions are highlighted.
**Expected Result:** The strengths are shown — they are highlighted, delivered exactly as documented.
**Priority:** Medium

### TC-SA-CG-02-026 — Profile history
**Type:** Positive
**Covers:** 2.4 → Profile history: the history of the learner's profiles
**Preconditions:** A Super Admin account is active; a learner has multiple profiles.
**Steps:**
1. As a Super Admin, open the profile history.
2. Observe the result and verify the full behavior: the previous profiles are listed.
**Expected Result:** The history is shown — the profiles are listed, delivered exactly as documented.
**Priority:** Low

### TC-SA-CG-02-027 — Profile sharing
**Type:** Positive
**Covers:** 2.4 → Profile sharing: the sharing of the profile with the learner
**Preconditions:** A Super Admin account is active; a profile exists.
**Steps:**
1. As a Super Admin, share the profile with the learner.
2. As the learner, view the profile.
3. Observe the result and verify the full behavior: the profile is visible to the learner.
**Expected Result:** The sharing works — the profile is visible, delivered exactly as documented.
**Priority:** High

### TC-SA-CG-02-028 — Rule: a profile with no completed assessment is not created
**Type:** Negative
**Covers:** 2.4 → Rule: a profile with no completed assessment is not created
**Preconditions:** A Super Admin account is active; a learner has not completed the assessment.
**Steps:**
1. As a Super Admin, view the learner's profile.
2. Observe the result and verify the full behavior: no profile is shown.
**Expected Result:** No profile is created — it is absent, delivered exactly as documented.
**Priority:** High

### TC-SA-CG-02-029 — Rule: profile actions are audit-logged
**Type:** Positive
**Covers:** 2.4 → Audit logging of aptitude profile
**Preconditions:** A Super Admin account is active; the audit log is accessible.
**Steps:**
1. As a Super Admin, share the profile.
2. Open the audit log.
3. Observe the result and verify the full behavior: the action is recorded with the actor and timestamp.
**Expected Result:** The action is audit-logged — the actor and timestamp are recorded, delivered exactly as documented.
**Priority:** High

### TC-SA-CG-02-030 — Completion rate
**Type:** Positive
**Covers:** 2.5 → Completion rate: the rate of learners completing the assessment
**Preconditions:** A Super Admin account is active; learners have completed the assessment.
**Steps:**
1. As a Super Admin, open the assessment analytics.
2. Observe the result and verify the full behavior: the completion rate is shown.
**Expected Result:** The rate is shown — it is computed, delivered exactly as documented.
**Priority:** High

### TC-SA-CG-02-031 — Dimension distribution
**Type:** Positive
**Covers:** 2.5 → Dimension distribution: the distribution of scores per dimension
**Preconditions:** A Super Admin account is active; scores exist.
**Steps:**
1. As a Super Admin, view the dimension distribution.
2. Observe the result and verify the full behavior: the spread per dimension is shown.
**Expected Result:** The distribution is shown — it reflects the spread, delivered exactly as documented.
**Priority:** Medium

### TC-SA-CG-02-032 — Strength trends
**Type:** Positive
**Covers:** 2.5 → Strength trends: the trends in learner strengths
**Preconditions:** A Super Admin account is active; strengths exist over time.
**Steps:**
1. As a Super Admin, view the strength trends.
2. Observe the result and verify the full behavior: the change over time is shown.
**Expected Result:** The trends are shown — they reflect the change, delivered exactly as documented.
**Priority:** Low

### TC-SA-CG-02-033 — Per-institute breakdown
**Type:** Positive
**Covers:** 2.5 → Per-institute breakdown: the analytics per institute
**Preconditions:** A Super Admin account is active; analytics exist for multiple institutes.
**Steps:**
1. As a Super Admin, view the per-institute breakdown.
2. Observe the result and verify the full behavior: the analytics are separated by institute.
**Expected Result:** The breakdown is shown — the institutes are separated, delivered exactly as documented.
**Priority:** Medium

### TC-SA-CG-02-034 — Rule: a report is exportable in CSV
**Type:** Positive
**Covers:** 2.5 → Rule: a report is exportable in CSV
**Preconditions:** A Super Admin account is active; the report has data.
**Steps:**
1. As a Super Admin, export the report to CSV.
2. Open the file.
3. Observe the result and verify the full behavior: the data is present and correct.
**Expected Result:** The export works — the CSV contains the data, delivered exactly as documented.
**Priority:** Medium

### TC-SA-CG-02-035 — Rule: a report reflects the selected date range
**Type:** Positive
**Covers:** 2.5 → Rule: a report reflects the selected date range
**Preconditions:** A Super Admin account is active; data exists across multiple ranges.
**Steps:**
1. As a Super Admin, select a date range and view the report.
2. Observe the result and verify the full behavior: only data in the range is shown.
**Expected Result:** The range is applied — the data is filtered, delivered exactly as documented.
**Priority:** Medium

### TC-SA-CG-02-036 — Rule: report generation is audit-logged
**Type:** Positive
**Covers:** 2.5 → Audit logging of assessment analytics
**Preconditions:** A Super Admin account is active; the audit log is accessible.
**Steps:**
1. As a Super Admin, generate the report.
2. Open the audit log.
3. Observe the result and verify the full behavior: the generation is recorded with the actor and timestamp.
**Expected Result:** The generation is audit-logged — the actor and timestamp are recorded, delivered exactly as documented.
**Priority:** High
