Image for post
Image for post
Chrome Development Tools Network Offline Throttling

TL;DR

In the previous post, we solved the issue of missing stylesheets in our application. Today we map received photos from REST API into our simple Picshare application. This post is part of the functional language series, and it is based on a remarkable book, Programming Elm Build Safe and Maintainable Front-End Applications by Jeremy Fairbank.

We are almost there. The last thing to do is to map the received photo using HTTP.Get the method into Elm Application. But we will also demonstrate the robustness of our Picshare application by throttling the network connectivity in Chrome Developer Tools.

Add the following two comments from this…


Image for post
Image for post
Pattern Matching Elixir Maps

TL;DR

In the previous post, we explained how to make pattern matching on Elixir Lists. Today we move on pattern matching Elixir Maps. This post is part of the functional language series, and it is based on the remarkable book Elixir In Action by Sasa Juric.

Map Pattern Matching

In the screenshot above, we first recapped two ways how we define Elixir Map.

Then we did a pattern match, similar to Tuple Pattern Matching. It is important to state that on the pattern side (left side), we can only declare what we are interested in, as long that the Map key exists. For example, we can only pattern match type. This is called the partial matching rule.

And for the end, we have a Pattern Match error.

Originally published at https://blog.tentamen.eu on January 15, 2021.


Image for post
Image for post
Dubravkin put path

TL;DR

In the previous post, we introduced Directed Graphs that are an important foundation for many test coverage criteria. Today we explain what is Test-Path in the context of the Directed Graph. We will introduce you to software testing based on the remarkable book, Introduction To Software Testing by Paul Ammann and Jeff Offutt.

How Many Paths

In the What Is Directed Graph post, we finished with the statement that Fizz-Buzz Graph has 10 nodes and 12 edges and how many different paths are there. The answer is four, or the number of OUTPUTS in the Fizz-Buzz directed graph.

Test-Path

A Test-Path represents the execution of a Test Case. We have a constraint that a test path always starts at the initial node. …


Image for post
Image for post

TL;DR

In the last post, we presented an example of risks related to software upgrade error. The idea was from this excellent paper: Bug Taxonomies: Use Them to Generate Better Tests [Vijayaraghavan, Kaner]. Today we presented a CIA thinking tool called The Phoenix Checklist. Many thanks to Marcel, who sublimed this great resource on his blog, That’s the buffet table.

The Phoenix Checklist

The Phoenix checklist was developed by the Central Intelligence Agency (CIA) to encourage their agents to look at the problems from many different viewpoints. …


Image for post
Image for post
Image by WikiImages from Pixabay

TL;DR

The last time we presented the scheduled game, 90% Done. Today we present well know the game, We’ll Go Faster Now. The post is based on a remarkable book written by Johanna Rothman, Manage It!

The Game Pattern

How to recognize that you are playing the We’ll Go Faster Now schedule game? First, you are doing some type of incremental life cycle. This could be an agile or staged-delivery project. That means you can see how you are doing at the end of an iteration. This is called a mini-retrospective. Probably, your team is behind schedule. …


Image for post
Image for post
Create API token in Atlassian

TL;DR

Many companies use Atlassian products. It starts with JIRA, and at some point, Confluence becomes a place for documentation. After some time, you will need to know how big is your Confluence repository. We provide a solution in this blog post.

Confluence Wiki

Confluence is a Wiki repository. Users create documentation as HTML pages with the help of markup language. For example, in the markup, you use the following syntax to create a link:

[I'm an inline-style link](https://www.google.com).

Wiki has a number of pages, so size is determined by the number of pages. …


Image for post
Image for post
credit: https://github.com/trimstray/nginx-admins-handbook

TL;DR

Nginx is a piece of software that is the entry point of many modern web applications. If you are a software tester and want to become an Nginx expert, we provide you with an excellent resource called Nginx admin resource.

If you spotted in your JIRA Nginx keyword, this resource is for you. Also, you will learn how to use GitHub repo to create an excellent wiki knowledge center using readme.md files and markup language.

Originally published at https://blog.tentamen.eu on January 10, 2021.


TL;DR

In the previous post, we learned how to handle Maybe Elm Value. But our Application did not show a like button. In today’s post, we explain how we solved that issue. This post is part of the functional language series, and it is based on a remarkable book, Programming Elm Build Safe and Maintainable Front-End Applications by Jeremy Fairbank.

Where Is Like Button?

With code changes from the previous post, our application did not show working like button:

Image for post
Image for post

Root Cause

The root cause of this problem is how we make a final application from Picshare.elm source code file:

src> elm make Picshare.elm

With that command, elm creates index.html that contains all elm javascript functions. Doing that, we overwrote original index.html that was referencing main.css and including picshare.js. Without stylesheets, there was no like button. …


Image for post
Image for post
Elixir List Pattern Matching

TL;DR

In the previous post, we presented Variables In Elixir Pattern Matching. Today we explain how to make pattern matching on Elixir lists. This post is part of the functional language series, and it is based on the remarkable book Elixir In Action by Sasa Juric.

We pattern match Elixir list similar as Elixir tuples. We can use variables, pin operator, and anonymous variables.

As Elixir lists have one special operator, | for extracting list head and tail, we can also use this operator in List pattern matching.

Originally published at https://blog.tentamen.eu on January 8, 2021.


Image for post
Image for post
A Directed Graph With Multiple Initial Nodes.
credit: Introduction to Software Testing

TL;DR

In the previous post, we recapped some of the oldest software testing definitions. Today we introduce Directed Graphs that are an important foundation for many test coverage criteria. We will introduce you to software testing based on the remarkable book, Introduction To Software Testing by Paul Ammann and Jeff Offutt.

Directed Graph Models

Based on the artifact under test, we create a directed graph model of that artifact. Remember that all models are wrong, but some are useful. Directed Graph models are our abstractions of those artifacts. We could also create several different directed graph abstractions for the same artifact. The most known directed graph is for artifact source code control flow statements. …

About

Karlo Smid

Founder of Tentamen, software testing agency.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store