Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run ATP from Test Plans - Run with Options to execute custom selected test cases #20887

Merged
merged 19 commits into from
Mar 6, 2025

Conversation

KathanS
Copy link
Contributor

@KathanS KathanS commented Feb 26, 2025

Task name: AzureTestPlanV0

Description: Make ATP task available for run from 'Test Plan - Run with Options' by providing option of 'Test run' as test selector, users can now select test cases from test plan gui and hit the release pipeline containing ATP task to execute tests on build of their choice in all languages supported by ATP

Demo videos:

Classic: https://microsoftapc-my.sharepoint.com/:v:/g/personal/ksanghavi_microsoft_com/EeCHc7Xp9FFInX827chtT6EBeubZX2clttIn4k8pIVpfvw?e=uma9Lo

YAML: https://microsoftapc-my.sharepoint.com/:v:/g/personal/ksanghavi_microsoft_com/EaFsI9KnouRMgCiv73ywhlIBJjJ_FbYNsLoHIkYAmiy_ag?e=agpSFx

Multiple Tests: https://microsoftapc-my.sharepoint.com/:v:/g/personal/ksanghavi_microsoft_com/ERsWqvmrY-BLiPxcW4Ypko4Bi-HlvkdSxFHwRVYiu_UARA?e=AbLKuU

Release pipeline - ATP task

image

Users can also see the execution history of test point as per below,

image

Both classic and yaml release pipelines are supported for running tests using ATP task via 'Test Plan - Run with Options' (both old and new UI)

Currently, ATP task by design publishes new test run whenever invoked, and we also need base test run created initially containing selected test cases from UI, so in turn we end up creating two test runs, we do not see any issue on execution history due to this and test result status are also updated correctly on the selected test points. We will take this up iteratively in separate PRs making design changes in agents code to not publish new test run when existing testRunId is passed and instead update the existing test run, and we need to make changes accordingly in ATP task.

Checklist:

  • Task version was bumped - please check instruction how to do it
  • Checked that applied changes work as expected

@KathanS KathanS changed the title Users/ksanghavi/atp test run Run ATP from Test Plans - Run with Options to execute custom selected test cases Feb 26, 2025
@KathanS KathanS marked this pull request as ready for review February 27, 2025 05:07
Copy link
Contributor

@adityashahms adityashahms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me know after the changes are incorporated

@KathanS
Copy link
Contributor Author

KathanS commented Mar 4, 2025

/azp run

@KathanS
Copy link
Contributor Author

KathanS commented Mar 5, 2025

/azp run

@KathanS
Copy link
Contributor Author

KathanS commented Mar 6, 2025

/azp run

Copy link
Contributor

@adityashahms adityashahms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@KathanS KathanS merged commit b96a66d into master Mar 6, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants