Automation Rhapsody

Posts with tag: Tutorials

Basic overview of software design patterns

Basic overview of design patterns.

Distributed system observability: extract and visualize metrics from OpenTelemetry spans

How to extract metrics from spans by OpenTelementry collector, store them in Prometheus and properly visualize them in Grafana.

Distributed system observability: Instrument Cypress tests with OpenTelemetry

Instrument Cypress tests with OpenTelemetry and be able to custom trace the tests.

Distributed system observability: Instrument Selenium tests with OpenTelemetry

Instrument Selenium tests with OpenTelemetry and be able to custom trace the tests themselves.

Distributed system observability: Instrument React application with OpenTelemetry

Create a React web application using the Material UI design system and instrument the application with OpenTelemetry.

Distributed system observability: Instrument Spring Boot application with OpenTelemetry

Instrumenting a Spring Boot Java application with OpenTelemetry.

Distributed system observability: complete end-to-end example with OpenTracing, Jaeger, Prometheus, Grafana, Spring Boot, React and Selenium

Code examples and explanations on an end-to-end example showcasing a distributed system observability from the Selenium tests through React front end, all the way to the database calls of a Spring Boot application. Examples are implemented with the OpenTracing toolset and traces are saved in Jaeger. This example also shows a complete observability setup including tools like Grafana, Prometheus, Loki, and Promtail.

How to use AWS Transcribe in real-time with React and .NET Core

Practical code example how to use AWS Transcribe from an application with React frontend and .NET Core backend.

AWS examples in C# - structured logging in .NET Core and AWS Lambda

Code examples of how to do structured logging in .NET Core and C# AWS Lambda.

AWS examples in C# - AWS CLI commands

Important AWS CLI commands used in AWS examples in C#.

AWS examples in C# - introduction to Serverless framework

Introduction to Serverless framework and .NET code example of a lambda function with API Gateway.

AWS examples in C# - create basic Lambda function

Code examples on how to create AWS Lambda function in .NET Core.

AWS examples in C# - working with Lambda functions

Iintroduction to AWS Lambda functions.

AWS examples in C# - create a service working with DynamoDB

Introduction to NoSQL, introduction to DynamoDB and what are its basic features and capabilities.

AWS examples in C# - basic DynamoDB operations

Code examples with DynamoDB write and read operations.

AWS examples in C# - create a service working with SQS

To give a basic overview of AWS SQS, how to write a message to it and how to make a consumer that constantly polls the queue for new messages.

AWS examples in C# - basic SQS queue operations

Code examples of how to perform basic SQS queue operations like reading, writing, deleting, creating a queue, etc.

AWS examples in C# - run the solution

Explanation of how to install and use the solution in AWS examples in C# blog post series.

AWS examples in C# - working with SQS, DynamoDB, Lambda, ECS

Overview of the AWS examples in C# series.

Git clone with predefined user email and user name

Small bash script to clone a Git repository and set user.email and user.name.

Dockerize React application with a Docker multi-staged build

How to build React application inside a Docker container, with a multi-staged build and then run it with NGINX or Caddy.

Optimize the size of Docker images

How to optimize the size of the Docker images, by using intermediate build image and final runtime image.

Restore deleted Git stash

How to restore deleted Git stash.

Ansible playbook example and how to provision it in Vagrant

Brief introduction to Ansible with and playbook example. Example of provisioning of the Ansible Playbook into Vagrant.

Testing with Cypress - Custom logging of errors and JUnit results

Description of the custom error logger and also custom JUnit XML file creator.

Testing with Cypress - Build a React application with Node.js backend

Short introduction to the application under test that is created for and used in all Cypress examples. It is React frontend created with Create React App package. Backend is a Node.js application running on Express.

Testing with Cypress - lessons learned in a complete framework

In the current post I will share some lessons I've learned using Cypress for quite a long time. Along this journey, I created a framework which solves some of the pain points that Cypress has.

What is The Test Mushroom and how to improve your testing

In contrast to Test Pyramid, Test Mushroom shows a test portfolio which is restricted to costly and slow UI tests only. In the current post, I will describe approaches to act on your Test Mushroom hence improve your testing.

.NET Core code coverage on Linux with MiniCover

How to run code coverage of your unit tests as part of your build on Linux build agents.

Build a REST API with Express on Node.js and run it on Docker

Code examples how to create RESTful API with Node.js using Express web framework and then run it on Docker.

.NET Core integration testing and mock dependencies

How to do integration testing on .NET Core application and stub or mock some inconvenient dependencies.

Build a REST API with .NET Core 2 and run it on Docker Linux container

Code examples how to create RESTful API with .NET Core 2.0 and then run it on Docker Linux container.

How to run Linux on Windows 10

Details how to install Ubuntu Linux on Windows 10 and some reasons why to do it.

Best practices in software delivery process

Short overview of a software delivery process which I consider very good and worth the "best practice" label that is being practiced in a very successful software company.

Java 8 features - Stream API advanced examples

This post explains Java 8 Stream API with very basic code examples.

Java 8 features - Stream API basic examples

This post explains Java 8 Stream API with very basic code examples.

Java 8 features - Stream API explained

Code examples of Java 8 Stream API showing useful use cases.

Java 8 features - Lambda expressions, Interface changes, Stream API, DateTime API

Short overview of the most interesting and useful Java 8 features.

Run multiple machines in a single Vagrant file

How to run multiple machines on Vagrant described in a single Vagrantfile.

Run Docker container on Vagrant

How to run Docker container on Vagrant.

Run Dropwizard Java application on Vagrant

How to run Dropwizard or any other Java application on Vagrant.

What is Vagrant and why to use it

Brief description on Vagrant and when and why to use it.

Build a Dropwizard project with Gradle

Code examples how to create Dropwizard project with Gradle.

Manage and automatically select needed WebDriver in Java 8 Selenium project

Example code how to efficiently manage and automatically select needed local WebDriver using Java 8 method reference used as lambda expression.

Run Dropwizard application in Docker with templated configuration using environment variables

How to run Dropwizard application inside a Docker container with configuration template file which later gets replaced by environment variables.

Coloured log files in Linux

How to colour your log files for better perception under Linux.

Create simple REST API client using Jersey

Code examples how to create REST API client using Jersey.

Implement secure API authentication over HTTP with Dropwizard

Reference implementation on suggested in "How to implement secure REST API authentication over HTTP" post authentication mechanism.

How to implement secure REST API authentication over HTTP

How to implement secure API authentication even over HTTP.

Mock JUnit tests with Mockito example

Why mocking is needed in unit testing and how to do it with Mockito.

Code coverage of manual or automated tests with OpenCover for .NET applications

Examples how to do code coverage of manual or automated functional test with OpenCover tool for .NET applications

Introduction to Cucumber and BDD with examples

Code examples and introduction to Cucumber, a framework that runs automated tests written in behavior driven development (BDD) style.

Performance testing with Gatling - reports

Some details on Gatling results report.

Performance testing with Gatling – advanced usage

Code samples and explanation how to do advanced performance testing with Gatling, such as proper scenarios structure, checks, feeding test data, session maintenance, etc.

Performance testing with Gatling - integration with Maven

Code samples and explanation how to create performance testing project with Gatling and Maven and run it with Maven plugin.

Performance testing with Gatling - recorded simulation explanation

Explanation of automatically generated code of recorded Gatling simulations.

Performance testing with Gatling - Scala fundamentals

Tutorial that covers basic Scala functionalities that may be needed during Gatling automation.

Performance testing with Gatling - record and playback

How to record a simulation with Gatling recorder and play it back.

Performance testing with Gatling

Tutorial how to use Gatling and do successful performance testing with it.

Code coverage with JaCoCo offline instrumentation with Maven

Tutorial how to do code coverage with offline instrumentation with JaCoCo and Maven.

Automated code coverage of unit tests with JaCoCo and Maven

Tutorial how to setup code coverage with JaCoCo on unit tests to be done on each Maven build.

Code coverage of manual or automated tests with JaCoCo

Tutorial how to do code coverage on automated or even manual functional tests with JaCoCo.

JPS alternative for Dropwizard - Servlet with Apache Velocity template engine

How to create a web application with Dropwizard with Servlet and Apache Velocity template engine since JSP is not supported.

Build a RESTful stub server with Dropwizard

How to make a RESTful server that can be used for stub during testing.

Automation SMTP Server

Automation SMTP Server is simple SMTP server run as console application.

Complete guide to email verifications with Automation SMTP Server

How to do complete email verification with your own Automation SMTP server.

Advanced WPF desktop automation

In this series of posts I'll expand the examples and ideas started in "Automation of WPF applications" series.

NTestsRunner

NTestsRunner is a tool for running functional automated tests.

NTestsRunner for functional automated tests

NTestsRunner implementation details and features.

Automation of WPF applications

Overview how to successfully automate WPF application with Telerik Testing Framework and TestStack White.

Complete guide how to use design patterns in automation

Complete code example of how design patterns can be used in real life test automation.

Design patterns every test automation engineer should know

Description with examples of 5 design patterns that is good to know and use in our automation testing.