During one of the tests, I got a list of items sorted via an api. At least that’s what I thought. From that list, I always extracted the first item because it was always the most recent one that was in the database.

Continue reading

Testing with FastAPI

It is not that difficult to test an API. There are tools like postman that can do a lot for you. I do not use those tools for automated tests itself. I use them when I do some manual tests. For my automated tests, I use java or python. That is not the purpose of this post though.

Continue reading

I discovered lately some things in java that I did not know yet. The switch statement in the java language switch in java has some weird things. First let’s create an example user story. I will write code afterwards.

Continue reading

Days between two dates

My current application under test has an API with some dates. I need to calculate in some automated tests the days between two dates. Between the start and end date.

Continue reading

My automated tests contains a lot of string manipulations. I do exercise a lot with programming. In this post I will solve a problem to distinguish between words and numbers. I will see if I can search for three words in python strings.

Continue reading

Sort numbers with python

Sometimes we need to sort numbers. In this post I will give a solution a fictive sorting problem. I want to sort numbers with python. Sorting is a part of many tasks. It is useful to know how to use the sorting function in python.

Continue reading

Author's picture

Bart Vanherck

Software Test Automation

Belgium