In this Tech Talk, Andreas Lengkeek has a chat with Matt Goldman.

https://www.ssw.com.au/rules/bdd

https://www.ssw.com.au/rules/automate…

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 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…

Created by SSW TV | Videos By Developers, For Developers

About the speakers

About the speakers

Matt Goldman

Matt is a Software Architect, Scrum Master, public speaker, writer and trainer.

Since joining SSW Matt has worked on a number of projects for a range of clients, including government agencies and multinational organisations. Matt loves making things, and at SSW uses that passion to fuel his work with .NET, EF / EF Core, Xamarin (and soon MAUI), Azure and Blazor.

Related videos

Related videos

Tech News #26 | Adam Cogan | User Group

Adam Cogan brings you the most important and recent tech news, including the release of .NET 8 preview, updates on Azure Open AI Service, GitHub, and AWS, and the rebranding of Netlify CMS. He also introduces the new, faster version of Microsoft Teams.

Simply Remote Testing with Dev Tunnels | Daniel Mackay | SSW Rules

Find out how to expose a locally running application over the internet for testing and design feedback.

Content Creation 101 – A Creative’s Guide | Richard Campbell and Adam Cogan | Tech Chat

Storytelling and content creation can be daunting and complex endeavour.

Tech News #25 | Adam Cogan | User Group

Microsoft are integrating GPT3 into Teams, Office, Bing basically everything, Gatsby has been acquired and Notepad which was built in 1983, now has tabs, that’s only 40 years all this and more in SSW Tech News

Launch your developer career into space | Piers Sinclair | .NET User Group

There are many different technologies and programming languages to choose from and a vast amount of information to sift through. So, where do you begin?

Spawn an Online Game with Blazor, .NET 7 and Clean Architecture in under 60 minutes | Luke Parker | SSW User Groups

Full Stack Web Developers are commonplace, but what if you were told those very skills can directly translate to building an online game?! 🎮

Master Video Editing Terms with Adam and Eve Cogan | SSW Rules

It’s important for anyone involved to know the basic video editing terms to keep feedback clear and concise.

Boost Productivity: Say Goodbye to Time Wasting with this Simple Trick – No Hello | SSW Rules

Please don’t say just ‘Hello’ in chat. It’s as if you called someone on the phone and said “Hi!” and then put them on hold!

Augmented reality and the future of devices with Richard Campbell and Ulysses Maclaren

Phones have ruled our digital experience for over a decade. But where will we go for information and how will we expect it to be delivered?

Building inclusion into organisations with Sammy Herbert and Penny Walker | NDC Sydney 2022

This session will cover Sammy’s 3-year journey of starting in a small company and building it to become a multi-award winning organisation