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

Common Mistakes in EF Core with Jernej JK Kavka

JK will show you how to improve your EF Core statements as well as how various configurations impacts the performance and scalability of your application. You’ll be blown away at how small changes can significantly impact not only the performance but also stability of the application.

Speaking Up about Unfairness – with Adam Cogan and Jean Thirion

Adam has a fun chat with SSW Solution Architect Jean Thirion about speaking up in the workplace. This is an important topic to discuss with your employer to make sure you are being treated fairly amongst your co-workers. There are some riveting stories Adam and Jean bring up that demonstrate the importance of always speaking up.

Do you have playlists & custom thumbnails on your YouTube channel?

SSW Chief Architect Adam Cogan shows how to categorize your YouTube channel with playlists and custom thumbnails to maximize user engagement.

Do you use great email signatures?

SSW Chief Architect and Microsoft Regional Director Adam Cogan shows how to setup professional email signatures with a few clicks of a button using CodeTwo.

Get the most out of EF Core by avoiding these common mistakes

Do you know how to get the best performance from your EF Core projects? SSW Senior Software Architect Andreas Lengkeek speaks with SSW Solution Architect Jernej (JK) Kavka about common mistakes on EF Core projects and how to fix them.

Why developers should build their public profile

SSW Chief Architect and Microsoft Regional Director Adam Cogan gives a bootcamp to developers on why they should build their public profile.

Chewing The Fat Review – How ROI affects decision making

SSW Chief Architect Adam Cogan reviews Chewing The Fat feedback from the SSW team on Return on Investment (ROI) best practices. He is joined by SSW Solution Architect Jean Thirion.

Why you should be making the most of extending your AD

https://www.ssw.com.au/rules/extending-AD Do you know how to make the most of your active directory? SSW Chief Architect Adam Cogan talks with SSW Solution Architect Jean Thirion about how to take advantage of extending AD with Microsoft SharePoint. || Subscribe for more content from SSW TV || || Press like and leave a comment below to let…

Chewing The Fat Review – Allowing multiple options on forms

https://www.ssw.com.au/rules/allow-multiple-options SSW Chief Architect Adam Cogan and SSW Senior Software Architect Piers Sinclair review feedback from the SSW team about allowing multiple options on forms instead of making them choose a single option. || Subscribe for more content from SSW TV || || Press like and leave a comment below to let us know how…

Logging in .NET Core can save you hours when debugging

https://www.ssw.com.au/rules/best-trace-logging SSW Solution Architect JK is a battle scared logging in .NET Core veteran. He shows Andreas Lengkeek his best practices for logging, gathered through his years of experience. When setup correctly, logging can save you hours in those moments when your code don’t run as planned. So take some notes on these best practices…