Skip to content

Commit 994512d

Browse files
authored
pull base content,head:MicrosoftDocs:main,into:wwlpublishsync
2 parents 2fb1989 + c5af1a2 commit 994512d

File tree

97 files changed

+799
-1195
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+799
-1195
lines changed

.openpublishing.redirection.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15966,6 +15966,26 @@
1596615966
"source_path_from_root": "/learn-pr/languages/python-create-first/index.md",
1596715967
"redirect_url": "/training/modules/python-create-run-program"
1596815968
},
15969+
{
15970+
"source_path_from_root": "/learn-pr/azure/azure-well-architected-introduction/3-cost-optimization.yml",
15971+
"redirect_url": "/training/modules/azure-well-architected-cost-optimization"
15972+
},
15973+
{
15974+
"source_path_from_root": "/learn-pr/azure/azure-well-architected-introduction/4-operational-excellence.yml",
15975+
"redirect_url": "/training/modules/azure-well-architected-operational-excellence"
15976+
},
15977+
{
15978+
"source_path_from_root": "/learn-pr/azure/azure-well-architected-introduction/5-performance-efficiency.yml",
15979+
"redirect_url": "/training/modules/azure-well-architected-performance-efficiency"
15980+
},
15981+
{
15982+
"source_path_from_root": "/learn-pr/azure/azure-well-architected-introduction/6-reliability.yml",
15983+
"redirect_url": "/training/modules/azure-well-architected-reliability"
15984+
},
15985+
{
15986+
"source_path_from_root": "/learn-pr/azure/azure-well-architected-introduction/7-security.yml",
15987+
"redirect_url": "/training/modules/azure-well-architected-security"
15988+
},
1596915989
{
1597015990
"source_path_from_root": "/learn-pr/languages/python-datatypes-numeric-operations/1-introduction.md",
1597115991
"redirect_url": "/training/modules/python-math-operators"
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.azdo.run-functional-tests-azure-pipelines.1-introduction
3-
title: Introduction
4-
metadata:
5-
title: Introduction
6-
description: Introduction
7-
ms.date: 04/02/2024
8-
author: steved0x
9-
ms.author: sdanie
10-
ms.custom: devdivchpfy22
11-
ms.topic: unit
12-
durationInMinutes: 1
13-
content: |
14-
[!include[](includes/1-introduction.md)]
15-
1+
### YamlMime:ModuleUnit
2+
uid: learn.azdo.run-functional-tests-azure-pipelines.1-introduction
3+
title: Introduction
4+
metadata:
5+
title: Introduction
6+
description: Introduction
7+
ms.date: 05/07/2025
8+
author: steved0x
9+
ms.author: sdanie
10+
ms.custom: devdivchpfy22
11+
ms.topic: unit
12+
durationInMinutes: 1
13+
content: |
14+
[!include[](includes/1-introduction.md)]
15+
Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,51 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.azdo.run-functional-tests-azure-pipelines.2-what-is-functional-testing
3-
title: What is functional testing?
4-
metadata:
5-
title: What is functional testing?
6-
description: Define functional tests and identify some popular kinds of tests you can run.
7-
ms.date: 04/02/2024
8-
author: steved0x
9-
ms.author: sdanie
10-
ms.custom: devdivchpfy22
11-
ms.topic: unit
12-
durationInMinutes: 10
13-
content: |
14-
[!include[](includes/2-what-is-functional-testing.md)]
15-
quiz:
16-
title: Check your knowledge
17-
questions:
18-
- content: "Your customer service team receives too many refund requests from customers who accidentally make purchases from your mobile application. Customers report that the **Purchase** button and **Cancel** button are too close together. Which kind of functional testing might help catch this sort of problem before it reaches your users?"
19-
choices:
20-
- content: "UI testing"
21-
isCorrect: false
22-
explanation: "Although UI testing can help you verify that the buttons appear and function correctly, it doesn't help you verify that the user has a good experience."
23-
- content: "Integration testing"
24-
isCorrect: false
25-
explanation: "Although integration testing can tell you whether the **Purchase** button successfully fulfills the order, it doesn't help you verify that the user has a good experience."
26-
- content: "Usability testing"
27-
isCorrect: true
28-
explanation: "Usability testing helps you validate your application from the user's perspective. You can combine usability testing with user-acceptance testing to get feedback from real customers."
29-
- content: "Your user experience (UX) team proposed some drastic changes to your website's home page. Which kind of functional testing can you use to ensure that each button on the page performs the correct function?"
30-
choices:
31-
- content: "UI testing"
32-
isCorrect: true
33-
explanation: "UI tests help verify that the *sequence*, or order, of user interactions leads to the expected result."
34-
- content: "Integration testing"
35-
isCorrect: false
36-
explanation: "Although integration testing can verify that the UI receives data correctly from say, a database, it doesn't verify that the result functions as expected for the user."
37-
- content: "Unit testing"
38-
isCorrect: false
39-
explanation: "Although unit testing can verify that your application's business logic produces the correct result given certain inputs, it doesn't verify that the result functions as expected for the user."
40-
- content: "Which kind of functional testing is typically performed by humans rather than through automation?"
41-
choices:
42-
- content: "Unit testing"
43-
isCorrect: false
44-
explanation: "Unit tests are best expressed through code. Tests that are expressed through code are better candidates for automation than manual processes."
45-
- content: "Usability testing"
46-
isCorrect: true
47-
explanation: "Usability testing is typically performed by humans to validate that the software is intuitive and meets the user's needs."
48-
- content: "Smoke testing"
49-
isCorrect: false
50-
explanation: "Although you might occasionally smoke-test changes manually before you deploy, smoke tests are usually an automated process. If your smoke tests fail, you know that no further testing is required."
51-
1+
### YamlMime:ModuleUnit
2+
uid: learn.azdo.run-functional-tests-azure-pipelines.2-what-is-functional-testing
3+
title: What is functional testing?
4+
metadata:
5+
title: What is functional testing?
6+
description: Define functional tests and identify some popular kinds of tests you can run.
7+
ms.date: 05/07/2025
8+
author: steved0x
9+
ms.author: sdanie
10+
ms.custom: devdivchpfy22
11+
ms.topic: unit
12+
durationInMinutes: 10
13+
content: |
14+
[!include[](includes/2-what-is-functional-testing.md)]
15+
quiz:
16+
title: Check your knowledge
17+
questions:
18+
- content: "Your customer service team receives too many refund requests from customers who accidentally make purchases from your mobile application. Customers report that the **Purchase** button and **Cancel** button are too close together. Which kind of functional testing might help catch this sort of problem before it reaches your users?"
19+
choices:
20+
- content: "UI testing"
21+
isCorrect: false
22+
explanation: "Although UI testing can help you verify that the buttons appear and function correctly, it doesn't help you verify that the user has a good experience."
23+
- content: "Integration testing"
24+
isCorrect: false
25+
explanation: "Although integration testing can tell you whether the **Purchase** button successfully fulfills the order, it doesn't help you verify that the user has a good experience."
26+
- content: "Usability testing"
27+
isCorrect: true
28+
explanation: "Usability testing helps you validate your application from the user's perspective. You can combine usability testing with user-acceptance testing to get feedback from real customers."
29+
- content: "Your user experience (UX) team proposed some drastic changes to your website's home page. Which kind of functional testing can you use to ensure that each button on the page performs the correct function?"
30+
choices:
31+
- content: "UI testing"
32+
isCorrect: true
33+
explanation: "UI tests help verify that the *sequence*, or order, of user interactions leads to the expected result."
34+
- content: "Integration testing"
35+
isCorrect: false
36+
explanation: "Although integration testing can verify that the UI receives data correctly from say, a database, it doesn't verify that the result functions as expected for the user."
37+
- content: "Unit testing"
38+
isCorrect: false
39+
explanation: "Although unit testing can verify that your application's business logic produces the correct result given certain inputs, it doesn't verify that the result functions as expected for the user."
40+
- content: "Which kind of functional testing is typically performed by humans rather than through automation?"
41+
choices:
42+
- content: "Unit testing"
43+
isCorrect: false
44+
explanation: "Unit tests are best expressed through code. Tests that are expressed through code are better candidates for automation than manual processes."
45+
- content: "Usability testing"
46+
isCorrect: true
47+
explanation: "Usability testing is typically performed by humans to validate that the software is intuitive and meets the user's needs."
48+
- content: "Smoke testing"
49+
isCorrect: false
50+
explanation: "Although you might occasionally smoke-test changes manually before you deploy, smoke tests are usually an automated process. If your smoke tests fail, you know that no further testing is required."
51+
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.azdo.run-functional-tests-azure-pipelines.3-set-up-environment
3-
title: Exercise - Set up your Azure DevOps environment
4-
metadata:
5-
title: Exercise - Set up your Azure DevOps environment
6-
description: Create your Azure DevOps project and Azure resources.
7-
ms.date: 04/02/2024
8-
author: steved0x
9-
ms.author: sdanie
10-
ms.custom: devdivchpfy22, devx-track-azurecli
11-
ms.topic: unit
12-
durationInMinutes: 15
13-
content: |
14-
[!include[](includes/3-set-up-environment.md)]
15-
1+
### YamlMime:ModuleUnit
2+
uid: learn.azdo.run-functional-tests-azure-pipelines.3-set-up-environment
3+
title: Exercise - Set up your Azure DevOps environment
4+
metadata:
5+
title: Exercise - Set up your Azure DevOps environment
6+
description: Create your Azure DevOps project and Azure resources.
7+
ms.date: 05/07/2025
8+
author: steved0x
9+
ms.author: sdanie
10+
ms.custom: devdivchpfy22, devx-track-azurecli
11+
ms.topic: unit
12+
durationInMinutes: 15
13+
content: |
14+
[!include[](includes/3-set-up-environment.md)]
15+
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.azdo.run-functional-tests-azure-pipelines.4-plan-ui-tests
3-
title: Plan the UI tests
4-
metadata:
5-
title: Plan the UI tests
6-
description: Define requirements for a set of manual UI tests.
7-
ms.date: 04/02/2024
8-
author: steved0x
9-
ms.author: sdanie
10-
ms.custom: devdivchpfy22
11-
ms.topic: unit
12-
durationInMinutes: 6
13-
content: |
14-
[!include[](includes/4-plan-ui-tests.md)]
15-
1+
### YamlMime:ModuleUnit
2+
uid: learn.azdo.run-functional-tests-azure-pipelines.4-plan-ui-tests
3+
title: Plan the UI tests
4+
metadata:
5+
title: Plan the UI tests
6+
description: Define requirements for a set of manual UI tests.
7+
ms.date: 05/07/2025
8+
author: steved0x
9+
ms.author: sdanie
10+
ms.custom: devdivchpfy22
11+
ms.topic: unit
12+
durationInMinutes: 6
13+
content: |
14+
[!include[](includes/4-plan-ui-tests.md)]
15+
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.azdo.run-functional-tests-azure-pipelines.5-write-ui-tests
3-
title: Write the UI tests
4-
metadata:
5-
title: Write the UI tests
6-
description: Map manual testing steps to automated test cases by using Selenium.
7-
ms.date: 04/02/2024
8-
author: steved0x
9-
ms.author: sdanie
10-
ms.custom: devdivchpfy22
11-
ms.topic: unit
12-
durationInMinutes: 8
13-
content: |
14-
[!include[](includes/5-write-ui-tests.md)]
15-
1+
### YamlMime:ModuleUnit
2+
uid: learn.azdo.run-functional-tests-azure-pipelines.5-write-ui-tests
3+
title: Write the UI tests
4+
metadata:
5+
title: Write the UI tests
6+
description: Map manual testing steps to automated test cases by using Selenium.
7+
ms.date: 05/07/2025
8+
author: steved0x
9+
ms.author: sdanie
10+
ms.custom: devdivchpfy22
11+
ms.topic: unit
12+
durationInMinutes: 8
13+
content: |
14+
[!include[](includes/5-write-ui-tests.md)]
15+
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.azdo.run-functional-tests-azure-pipelines.6-run-ui-tests
3-
title: Exercise - Run the UI tests locally and in the pipeline
4-
metadata:
5-
title: Exercise - Run the UI tests locally and in the pipeline
6-
description: Run the Selenium UI tests locally and then in the pipeline.
7-
ms.date: 04/02/2024
8-
author: steved0x
9-
ms.author: sdanie
10-
ms.custom: devdivchpfy22
11-
ms.topic: unit
12-
durationInMinutes: 13
13-
content: |
14-
[!include[](includes/6-run-ui-tests.md)]
15-
1+
### YamlMime:ModuleUnit
2+
uid: learn.azdo.run-functional-tests-azure-pipelines.6-run-ui-tests
3+
title: Exercise - Run the UI tests locally and in the pipeline
4+
metadata:
5+
title: Exercise - Run the UI tests locally and in the pipeline
6+
description: Run the Selenium UI tests locally and then in the pipeline.
7+
ms.date: 05/07/2025
8+
author: steved0x
9+
ms.author: sdanie
10+
ms.custom: devdivchpfy22
11+
ms.topic: unit
12+
durationInMinutes: 13
13+
content: |
14+
[!include[](includes/6-run-ui-tests.md)]
15+
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.azdo.run-functional-tests-azure-pipelines.7-clean-up-environment
3-
title: Exercise - Clean up your Azure DevOps environment
4-
metadata:
5-
title: Exercise - Clean up your Azure DevOps environment
6-
description: Clean up your Azure DevOps project and your Azure resources.
7-
ms.date: 04/02/2024
8-
author: steved0x
9-
ms.author: sdanie
10-
ms.custom: devdivchpfy22
11-
ms.topic: unit
12-
durationInMinutes: 7
13-
content: |
14-
[!include[](includes/7-clean-up-environment.md)]
15-
1+
### YamlMime:ModuleUnit
2+
uid: learn.azdo.run-functional-tests-azure-pipelines.7-clean-up-environment
3+
title: Exercise - Clean up your Azure DevOps environment
4+
metadata:
5+
title: Exercise - Clean up your Azure DevOps environment
6+
description: Clean up your Azure DevOps project and your Azure resources.
7+
ms.date: 05/07/2025
8+
author: steved0x
9+
ms.author: sdanie
10+
ms.custom: devdivchpfy22
11+
ms.topic: unit
12+
durationInMinutes: 7
13+
content: |
14+
[!include[](includes/7-clean-up-environment.md)]
15+
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.azdo.run-functional-tests-azure-pipelines.8-summary
3-
title: Summary
4-
metadata:
5-
title: Summary
6-
description: Summary
7-
ms.date: 04/02/2024
8-
author: steved0x
9-
ms.author: sdanie
10-
ms.custom: devdivchpfy22
11-
ms.topic: unit
12-
durationInMinutes: 3
13-
content: |
14-
[!include[](includes/8-summary.md)]
15-
1+
### YamlMime:ModuleUnit
2+
uid: learn.azdo.run-functional-tests-azure-pipelines.8-summary
3+
title: Summary
4+
metadata:
5+
title: Summary
6+
description: Summary
7+
ms.date: 05/07/2025
8+
author: steved0x
9+
ms.author: sdanie
10+
ms.custom: devdivchpfy22
11+
ms.topic: unit
12+
durationInMinutes: 3
13+
content: |
14+
[!include[](includes/8-summary.md)]
15+

learn-pr/azure-devops/run-functional-tests-azure-pipelines/includes/1-introduction.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ In this module, you'll add functional tests to the pipeline. These tests verify
22

33
In the [Create a multistage pipeline by using Azure Pipelines](/training/modules/create-multi-stage-pipeline?azure-portal=true) module, you helped the Tailspin Toys web team design and build a multistage release pipeline. The team uses the pipeline to move changes through a series of stages. Changes move through the _Dev_ stage, the _Test_ stage, and finally the _Staging_ stage, which resembles a production environment.
44

5-
The stages that you and the team defined provide the overall shape of the pipeline. But you can add more to each stage. For example, in the _Test_ stage, Amita still tests the web application manually as she always has. When she's satisfied, she manually promotes the application to _Staging_. In _Staging_, management reviews the new features and decides whether to make the release publicly available.
5+
The stages that you and the team defined provide the overall shape of the pipeline, but you can add more to each stage. For example, in the _Test_ stage, Amita still tests the web application manually as she always has. When she's satisfied, she manually promotes the application to _Staging_. In _Staging_, management reviews the new features and decides whether to make the release publicly available.
66

77
In the [Run quality tests in your build pipeline using Azure Pipelines](/training/modules/run-quality-tests-build-pipeline?azure-portal=true) module, you incorporated unit and code coverage tests into the build process. These tests help avoid regression bugs and ensure that the code meets the company's standards for quality and style. But what kinds of tests can you run after a service is operational and deployed to an environment?
88

@@ -26,10 +26,10 @@ We also recommend that you start at the beginning of the [Deploy applications wi
2626
If you want to go through just this module, you need to set up a development environment on your Windows, macOS, or Linux system. You need these assets:
2727

2828
- An [Azure subscription](https://azure.microsoft.com/free/?azure-portal=true)
29-
- An [Azure DevOps organization](/azure/devops/pipelines/get-started/pipelines-sign-up) with access to [parallel jobs](/azure/devops/pipelines/licensing/concurrent-jobs). If your organization does not have access to parallel jobs, you can request parallel jobs for free for public or private projects using [this form](https://aka.ms/azpipelines-parallelism-request). Your request will take 2-3 business days.
29+
- An [Azure DevOps organization](/azure/devops/pipelines/get-started/pipelines-sign-up) with access to [parallel jobs](/azure/devops/pipelines/licensing/concurrent-jobs). If your organization does not have access to parallel jobs, you can request parallel jobs for free for public or private projects using [this form](https://aka.ms/azpipelines-parallelism-request). Your request takes 2-3 business days.
3030
- A [GitHub](https://github.com/join?azure-portal=true) account
3131
- [Visual Studio Code](https://code.visualstudio.com?azure-portal=true)
32-
- [.NET 6.0 SDK](https://dotnet.microsoft.com/download/dotnet/6.0?azure-portal=true)
32+
- [.NET 8.0 SDK](https://dotnet.microsoft.com/download/dotnet/8.0?azure-portal=true)
3333
- [Git](https://git-scm.com/downloads?azure-portal=true)
3434

3535
You can get started with Azure and Azure DevOps for free. You don't need an Azure subscription to work with Azure DevOps, but here you'll use Azure DevOps to deploy to resources that exist in your Azure subscription.

0 commit comments

Comments
 (0)