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

Power Automate Flows with Calum Simpson and Adam Cogan – Long

Power Automate lets power users automate away repeatable manual processes. They can go from zero to hero in under a day!

Sites to Give Your Admin Staff on SharePoint with Warwick Leahy

It’s important for all your SharePoint Sites to be as consistent as possible.

In the days of classic SharePoint, subsites were a popular way of organising your intranet. Modern SharePoint architecture leans toward a flatter hierarchy, where sub-sites are generally not recommended.

Teams and SharePoint Search Bug with Jean Thirion

Not finding stuff you have permissions to is super frustrating. So this one has always confused us…. Do you consider it a bug?

Azure Resource Naming Conventions with Luke Cook

Having inconsistent resource names across projects creates all sorts of pain:
– Struggling to identify resources
– Unsure what to label new resources.
– Risk of duplicating resources

Developing Flexible Authorization Capabilities in ASP.NET Core with Jason Taylor

In this talk, Jason Taylor will demonstrate an approach using permission-based authorization to overcome these limitations by building a flexible approach to managing roles and permissions from within your system. This will improve the maintainability and visibility of access control across your system. Putting the power into the hands of application users and administrators, rather than developers.

SSW 2022 Welcome Back To Office Lunch

On the 4th of February we welcomed everyone back to the office with a fantastic lunch! 🥗

It has been a roller coaster 12 months with restrictions, so it was amazing to see everyone back in the office working side by side again 👏

Tech News: State of JS Survey 2021, AU domains available, GitHub issues changes, .NET 7 preview

Join Adam as he delivers the latest Tech News during our March User Group.

SSW is proud to announce its latest product – The SSW TimeBand!

Our development team spent a few months working really hard on this new product, and Chief Architect Adam Cogan is officially launching it today.

Rules to Better Security with Adam Cogan – The 10 tips CEOs Must Know

Do you know the security best practices for both end-users and SysAdmins?

Join Adam for the 10 tips CEOs must know for both end-users and SysAdmins.

Microservice Solutions with Ocelot on Azure with Patrick Zhao

Learn from Patrick how valuable Ocelot is and see the ins and outs of building an API gateway and protect the services using Azure VNet.