| UID | Description | Traces To | Tests | Test Actions | Expected Results | Actual Results | Notes | Status |
|---|---|---|---|---|---|---|---|---|
| SRS001 | Credential Validation | SYS001: Authentication UN001: User Authentication |
test_valid_credentials_accepted [passed] test_invalid_credentials_rejected [passed] |
test_valid_credentials_accepted Submit valid credentials for nurse1 test_invalid_credentials_rejected Submit invalid password for nurse1 |
test_valid_credentials_accepted Authentication returns True test_invalid_credentials_rejected Authentication returns False |
test_valid_credentials_accepted Authentication returned True test_invalid_credentials_rejected Authentication returned False |
test_valid_credentials_accepted test_invalid_credentials_rejected |
Passed |
| SRS002 | Password Hashing | SYS001: Authentication UN001: User Authentication |
test_password_hashing_uses_bcrypt [passed] test_password_hashing_produces_different_output [passed] |
- | - | - | - | Passed |
| SRS003 | Login Throttling | SYS001: Authentication UN001: User Authentication |
test_login_allowed_when_under_threshold [passed] |
- | - | - | - | Passed |
| SRS004 | Session Token | SYS002: Session Management UN001: User Authentication |
test_jwt_generation [passed] |
- | - | - | - | Passed |
| SRS005 | Session Refresh | SYS002: Session Management UN001: User Authentication |
test_token_refresh [passed] |
- | - | - | - | Passed |
| SRS006 | WebSocket Connection | SYS003: Real-time Display UN002: Vital Signs Monitoring |
test_websocket_connection [passed] test_websocket_endpoint [passed] |
- | - | - | - | Passed |
| SRS007 | Data Polling | RC001: Vital Sign Validation SYS003: Real-time Display HAZ001: Vital Sign Display Error UN002: Vital Signs Monitoring |
test_device_api_polling [passed] test_polling_includes_timestamp [passed] |
- | - | - | - | Passed |
| SRS008 | Database Write | SYS004: Data Storage UN003: Historical Data |
test_vital_signs_write [passed] test_write_requires_timestamp [passed] |
- | - | - | - | Passed |
| SRS009 | Data Retention | SYS004: Data Storage UN003: Historical Data |
test_retention_policy [passed] |
- | - | - | - | Passed |
| SRS010 | Query Optimization | SYS005: Historical Query UN003: Historical Data |
test_indexed_query [passed] |
- | - | - | - | Passed |
| SRS011 | Pagination | SYS005: Historical Query UN003: Historical Data |
test_pagination_default_page_size [passed] test_pagination_returns_correct_page [passed] |
- | - | - | - | Passed |
| SRS012 | Threshold Check | SYS006: Threshold Alerts UN004: Alerts |
test_threshold_exceeded [passed] test_threshold_not_exceeded [passed] |
- | - | - | - | Passed |
| SRS013 | Alert Generation | RC002: Redundant Alert Pathways SYS006: Threshold Alerts HAZ002: Alert Notification Failure UN004: Alerts |
test_alert_creation [passed] test_alert_includes_timestamp [passed] test_alert_severity_levels [passed] |
- | - | - | - | Passed |
| SRS014 | CSV Export | SYS008: Export Formats UN005: Data Export |
test_csv_generation [passed] test_csv_iso8601_timestamps [passed] |
- | - | - | - | Passed |
| SRS015 | PDF Report | SYS008: Export Formats UN005: Data Export |
test_pdf_report_format [passed] test_pdf_report_has_charts [passed] test_pdf_report_has_summary [passed] |
- | - | - | - | Passed |
| SRS016 | Redundant Alert Delivery | RC002: Redundant Alert Pathways HAZ002: Alert Notification Failure |
- | - | - | - | - | Not Covered |
| SRS017 | Alert Severity Indicators | SYS007: Alert Notification UN004: Alerts |
- | - | - | - | - | Not Covered |
| SYS001 | Authentication | UN001: User Authentication |
- | - | - | - | - | Not Covered |
| SYS002 | Session Management | UN001: User Authentication |
- | - | - | - | - | Not Covered |
| SYS003 | Real-time Display | UN002: Vital Signs Monitoring |
- | - | - | - | - | Not Covered |
| SYS004 | Data Storage | UN003: Historical Data |
- | - | - | - | - | Not Covered |
| SYS005 | Historical Query | UN003: Historical Data |
- | - | - | - | - | Not Covered |
| SYS006 | Threshold Alerts | UN004: Alerts |
- | - | - | - | - | Not Covered |
| SYS007 | Alert Notification | UN004: Alerts |
- | - | - | - | - | Not Covered |
| SYS008 | Export Formats | UN005: Data Export |
- | - | - | - | - | Not Covered |