An intro to GitHub Actions – Test and deploy multiple services – Matt Goldman and Andreas Lengkeek

https://www.ssw.com.au/rules/bdd
https://www.ssw.com.au/rules/automated-ui-testing

An intro to GitHub Actions – let’s test end-to-end and deploy multiple services – Matt Goldman and Andreas Lengkeek
You can access the GitHub repos from this talk here: https://github.com/E2E-Orchestration

They cover:
– Github Actions and deploying artifacts
– Deploying multiple-services eg. Azure Apps, Dynamics, Blazor
– Test an end-to-end solution

0:32 Project summary: Automatic testing and deployment of Azure App Service API, CMS, Dynamics CRM, Blazor UI

1:35 Github workflow

2:17 Demo with the interaction between two services and the UI “The solution in a nutshell”

4:00 Generating a unit test with Spec flow from a Gherkin statement

4:59 Using Playwright to create a steps file for the test (using bindings to achieve browser automation)

6:12 Debugging and testing using test explorer

7:48 Running headless tests without debugger

8:23 Demo of automated tests and deploying to production

10:54 TODOs – Grabbing the artefact from the repo to optimise deployment to Azure

12:16 TODOs – Configure as environments in Github

13:28 Deploy to production

14:05 Reviewing successful tests

16:25 TODOs – Configuring timeout defaults to optimise test speed and avoid failed runs

— More Info —
This is a POC to a working pipeline including:
– Pull Requests and unit tests (using nunit)
– UI tests are fragile
– Complex dependencies
– Orchestration: YAML, YML
– BDD Gherkin Statements – aka plain English testing (eg. Given, When, Then)
– SpecFlow
– Visual Studio Test Explorer
– Playwright.dev (like NightWatchjs.org)
– Security: Using Github secrets and environments (you could use Azure KeyVault)

|| Subscribe for more content from SSW TV ||

|| Press like and leave a comment below to let us know how we’re doing ||

Twitter ↴
https://twitter.com/ssw_tv

Facebook ↴
https://www.facebook.com/SSW.page

——————————————————————————
See more videos at http://tv.ssw.com

For more information about SSW’s web application consulting services, please visit https://www.ssw.com.au/ssw/Consulting/Web-Applications.aspx

Created by SSW TV | Videos By Developers, For Developers

v5

Author: traffic

Leave a Reply

Your email address will not be published. Required fields are marked *