Hi James Stewart,
I understand your concern. While Azure DevOps doesn’t allow you to directly attach a Git commit to a test case, you can achieve the linkage by using work items.
If your code is stored in GitHub, you can connect your Azure DevOps project to your GitHub repository. Once connected, you can link GitHub commits, pull requests, and branches to Azure Boards work items (including test cases and bugs). This is done by including the syntax AB#{ID}
in commit messages or pull request descriptions, where {ID}
refers to the Azure Boards work item ID. Please check for GitHub commits, pull requests, branches, and issues to work items in Azure Boards link-to-from-github
for azure repos to connect-work-items-to-git-dev-ops
If you have any further questions or need additional assistance, please feel free to let me know.
Thank you.