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…
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.
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.
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.
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.
A Test-Path represents the execution of a Test Case. We have a constraint that a test path always starts at the initial node. …
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 was developed by the Central Intelligence Agency (CIA) to encourage their agents to look at the problems from many different viewpoints. …
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. …
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 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. …
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.
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.
With code changes from the previous post, our application did not show working like button:
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 was referencing
main.css and including
picshare.js. Without stylesheets, there was no like button. …
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
tail, we can also use this operator in List pattern matching.
Originally published at https://blog.tentamen.eu on January 8, 2021.
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.
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. …