Hi @Yair Postolovsky ,
Thanks for reaching out to Microsoft Q&A.
Here's the rundown on what Azure DevOps Test Plans currently offers for audit-trail and traceability, plus where it’s limited from an ALCOA standpoint:
- Artifact-level audit (design time)
- Test Plans, Test Suites and Test Cases are just work items, so every field change (including editing test steps in the design view) is recorded in the work-item history. You can see who changed what and when right in the UI under the “History” tab.
- Deleted Test Plans/Suites go into a 14-day soft-delete state and can be restored via the Recycle Bin REST APIs. After 14 days, they’re permanently purged.
- At the organization level, if you enable Audit Logs (Org settings > Auditing), you’ll get events for create/update/delete on these work-item types.
- Step-level changes during a manual run
- Test run details persist each step’s pass/fail and any “Actual Result” you record.
- However, if you insert, delete, reorder or edit steps mid-run, those edits overwrite the test-case definition and aren’t separately stamped in history or Audit Logs. There’s no built-in, run-time audit of who made step-by-step edits.
- Organization-level auditing
- Enabling “Log audit events” in Organization Settings captures work-item events (Test Plan, Test Suite, Test Case) under the WorkTracking category.
- You can view these in the Audit Logs UI or pull them via the REST API. Look for entries like “WorkItemUpdated” or “WorkItemDeleted” that reference your test artifacts.
Limitations & best practices:
- There's currently no granular audit for in-run step edits: this is a product limitation.
- For ALCOA compliance you can combine:
- Work-item history (design-time changes)
- Org audit logs (create/update/delete at the artifact level)
- Retention policies to keep test-run data
- Process controls (e.g., manual approvals or gated pipelines) to enforce review/sign-off
- If you need e-signatures or non-overwrite controls on execution data, consider integrating an external compliance tool or adding custom fields + pull-request style approvals around your test assets.