Getting Started with Marble Testing

Todd Leininger Testing, Tutorial Leave a Comment

When working with RxJS observables, it can get a little tricky to unit test. Sometimes it can be hard to get insight into what is going on with the observable in the test. I’ve personally been frustrated numerous times by trying to test my observables with the subscribe and assert method. This is where marble testing can make testing observables easier.

The main advantage of using marble testing is the marble diagrams. With the diagrams, we have a visual representation of our observables and subscriptions so we can see the interactions between the two. Once the basics are understood, you should be able to get observable tests running in no time.

In this post, I will show you how to get started using Marble testing with an example. By the end, you should have enough information to get started on your journey testing observables. My examples are based on an Angular application using Jasmine, but these can also be applied to different testing frameworks for React and other applications.

[Video] Azure Options For Enterprise: Pros, Cons & Use Cases

Keyhole Software .NET, Azure, Cloud, Keyhole, Service Fabric, Technology Snapshot, Tutorial, Video Leave a Comment

The Azure cloud platform is vast and it can be difficult to determine the best option given unique requirements. This video discusses six options within the wide world of Microsoft Azure including Virtual Machines (IaaS), App Services (PaaS), Function Apps (FaaS), AKS (KaaS), Logic Apps (?aaS), and Service Fabric (PaaS).

For each option, Keyhole Software Consultant Zach Gardner introduces the pros, cons, optimal use cases, and tips for success with each Azure approach based on his experience.

This 40-minute video was recorded in November 2019 at a Keyhole Software internal employee Lunch & Learn event featuring Keyhole Consultant Zach Gardner…

How to Create a Dystopian Future at Home with Python, OpenCV, and Microsoft Azure

Derek Andre Azure, Cloud, Python, Technology Snapshot, Tutorial Leave a Comment

Facial recognition is both amazing and horrifying. Some amazing things it can do is the ability to find missing children or seniors, using your face to unlock your phone, and being able to board an airplane faster.

In this blog post, I want to highlight some powerful tools and platforms that allow you to create distributed facial recognition systems with OpenCV and Azure’s Cognitive Services. By the end of this post, you will have a working face detector using OpenCV that can communicate with Azure’s Cognitive Services.

I used Python 3.7.4 and pip 19.2.3 for this project. You can view the code from this blog at https://github.com/dcandre/Dystopian-Future-At-Home.

Go To SQL

Gabe Schmidt Databases, Go, Programming, Tutorial Leave a Comment

In between projects here at Keyhole, I’ve been tasked with applying a relational database access and mapping framework in the Go language.

In this post, I go step by step to create a Postgres relational database, then perform CRUD operations against it in the Go language.

I won’t get into the specifics of configuring Go in this blog, but you can check it out yourself here – https://golang.org/. Additionally, Keyhole’s very own David Pitt wrote an excellent primer on the subject here – https://keyholesoftware.com/2019/09/26/go-on-the-fly/.

[Video] DevOps Orchestration: Kubernetes, OpenShift & Cloud Foundry

Keyhole Software DevOps, Docker, Keyhole, Microservices, OpenShift, Technology Snapshot, Tutorial, Video Leave a Comment

The Keyhole team is excited to share an internal educational video that is now available to the public. In our first-ever video release, we discuss microservices platform orchestration from a broad scope.

Specifically, Principal Consultant Jaime Niswonger takes a technology-agnostic look at the “big ideas” integral to platform orchestration for the enterprise. He introduces three popular orchestration platforms, Kubernetes, OpenShift, and Cloud Foundry, and discusses scaling container deployments in the enterprise. The video is 60 minutes in duration.