The Allure of Adding Tests to Azure DevOps
summary
Walks through wiring Cypress tests in Azure Pipelines using a GitHub artifact, Microsoft-hosted Ubuntu agents, Node 12 and npm install, running npm script that executes Cypress, publishing JUnit test results and attaching logs. Shows parallel runs by setting multi-configuration multiplier=2 to run Chrome and Firefox simultaneously, notes free accounts give 10 parallel agents, and demonstrates a run where 6 tests produced 4 passes and 2 failures, with failure stack traces, downloadable screenshots in logs and a create-bug action via the JUnit reporter + test tab.
AI-written summary Β· about
chapters (39)
- 0:00Introduction
- 0:17Trainings
- 0:50What is Azure
- 1:17What is DevOps
- 2:46Azure Pipelines
- 3:39Why run tests in the pipeline
- 4:10Demo
- 4:54Creating a New Project
- 7:34Creating a Stage
- 7:50Adding an Agent
- 8:22Adding a Step
- 8:44Node Version
- 9:12Install Project Dependencies
- 9:57Run Project
- 10:41Generate Report
- 10:57Generate JSON Report
- 12:20Control Options
- 13:00Create Release
- 13:54Run Test
- 15:38Chrome Test
- 18:53Failing Test
- 19:46Running Multiple Tests
- 22:40Continuous Deployment
- 23:56Azure Pipeline
- 24:43Running Parallel Tests
- 25:32Allure Reports
- 26:13FAQ
- 28:15YAML
- 28:43Costs
- 29:29Running Tests in Parallel
- 30:12Sharing Test Reports
- 31:03Unit Tests vs EndtoEnd Tests
- 31:41Component Tests vs EndtoEnd Tests
- 32:20Running EndtoEnd Tests
- 32:30Answering Questions
- 33:15Distribute Tests in Parallel
- 33:37Post Test Results to Slack
- 33:50GitHub Actions vs Azure DevOps
- 34:11Thank you
