Microservice Testing

Unit Test of Architecture you own this product

This free project is part of the liveProject series Microservice Testing
prerequisites
basic Java • basic Docker and Docker Compose • REST principles • basic microservices • basic Maven • basic Spring and Spring Boot • basic Jenkins
skills learned
add dependencies and create basic tests to validate the architecture • create custom tests • externalize tests to a particular library to import into different microservices • split the execution of the test into unit tests • add multiple tests into one Jenkins pipeline
Andres Sacco
1 week · 6-8 hours per week · INTERMEDIATE

placing your order...

Don't refresh or navigate away from the page.
This free project is part of the liveProject series Microservice Testing explore series
Check your email for instructions on accessing Unit Test of Architecture (liveProject)
continue shopping
adding to cart

Look inside

You’re a senior developer at Travel World Agency (TWA). The company has built a next-generation system that uses a microservice architecture running on Amazon Web Services (AWS), and wants to prepare it for cost-cutting measures. Your task is to review the microservices architecture, create an architecture test using ArchUnit, create custom tests as needed, streamline update and creation processes by externalizing your tests to a single library, and integrate your architecture tests into a Jenkins pipeline. When you’re done, you’ll have a unit test that validates the structure of a microservices architecture.

project author

Andres Sacco

Andres Sacco is a technical leader at Prisma who has experience with many different languages including Java, PHP, and Node.js. At his previous job, Andres helped to find alternative ways to optimize data transfer between microservices, which reduced the cost of infrastructure by 55%. Before introducing these optimizations, he investigated different testing methods for better coverage than unit tests of the microservices. He also dictated internal courses about new technologies and has written articles on Medium. Andres is a co-author of the book Beginning Scala 3, from Apress.

prerequisites

This liveProject is for Java developers who are interested in learning how to validate whether the architecture of their microservices follows a standard. To begin this liveProject, you should be familiar with the following:

TOOLS
  • Any Java IDE: Eclipse, IntelliJ IDEA, Visual Studio Code
  • Basic Maven
  • Basic Spring and Spring Boot
  • Basic Docker and Docker Compose
  • Basic Jenkins
TECHNIQUES
  • Basic knowledge of Java
  • Basic knowledge of Spring Boot and how to add new modules
  • Basic Docker and Docker Compose commands
  • REST principles
  • Basic knowledge of microservices

you will learn

In this liveProject, you’ll learn to create rules that allow you to validate the structure of a microservices architecture, including the names of the different elements in the different microservices.

  • Add dependencies and create basic tests to validate the architecture
  • Create custom tests to validate specific elements of classes, interfaces, and packages
  • Externalize tests to a particular library to import into different microservices
  • Split the execution of the test into unit tests
  • Add multiple tests into one Jenkins pipeline

features

Self-paced
You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
RECENTLY VIEWED