Marco Bravo

Logo

Marco Bravo's DEV Profile If you don’t know, ask – if you know, share! ~ opensource mindset Baseball ball image


➠ "We may not have control over our circumstances, but we do have control over our minds"
➠ What do I want to do next?
Cloud and rainbow image

View My GitHub Profile

30 March 2020

Test Your Microservices

by Marco Bravo

Code image

Microservices architecture describes the practice of breaking up an application into a series of smaller and more problem-solution oriented components. Then each of these components communicates with one another across common protocols like HTTP or the more lightweight TCP.

Software testing is important for a number of reasons, but most importantly:

As long as you develop an application that will be used by users and has some complexity, tests should not be an option – they should be mandatory.

There are various types of software testing.

Functional Testing types include:

Non-functional Testing types include:

The more complex the app gets the more types of tests you will use.

The basic tests that you should always use are the following:

The process goes like this: first you write tests to check if your app behaves as expected in almost all aspects, including corner cases. Second, if your app is already live, you write tests to check if any new changes to the code break the current functionality.

Side note: besides these basic tests that you should use at any type of software, there are additional tests you should write for microservices. Don’t forget load tests, for example, to check your system’s behavior under both normal and anticipated peak load conditions.

Full article

tags: test - microservices - development - developer