What would you automate for audit trails when migrating validated data, and what would you leave manual?
Answer
Before automating, begin by identifying intended use, applicable rules, hazards and the assurance rigor required by risk. Focus on audit trails when migrating validated data. Use approved requirements, controlled records and independently reviewable objective evidence as the oracle. Cover traceability, data integrity, access, auditability, change impact, anomalies and recovery. Keep data and dependencies controlled enough to reproduce failures. Release only when each claim and control has attributable, legible, contemporaneous and reviewable evidence.
Strong answer includes
- explicit risk and test oracle for audit trails
- tailors rigor to documented risk
- protects traceability and data integrity
- measurable evidence and residual-risk statement
Practical example
When historical audit-trail entries are migrated to a new system, the junior tester automates a check that the migrated entry count matches the source system exactly and that each entry's original timestamp and user ID are preserved unchanged. Deciding how to handle a small number of entries with a known legacy encoding bug stays a manual decision with the quality lead.