This blog post is all about introduction to another, very popular test framework used in Java ecosystem. I would like to share with you how combination of almost natural Groovy language and cool Spock test framework could bring joy while writing tests.
Writing tests might be hard. There are several reasons why it could be. Maybe a person who is writing them lacks experience. Maybe a code base is written in a way that it is almost impossible to test it. Or developer thinks that writing them takes more time than coding real implementation.
Today I want to share with you a great testing tool that may help you see that testing might be also fun. And this tool is called Spock. …
Nowadays Kubernetes is one of the most popular tool which is used to build large, distributed system in the cloud. Many companies decide to use it in their new projects or are migrating already existing one. Despite of that, if you still don’t know what Kubernetes is, this blog post is definitely for you.
Let’s imagine that we know use a time machine and go back in time to 2000s (to help you with that, try to remind what music band you’ve listened then or what clothes you’ve been wearing). We’re working in a big company, in a software development department. …
Ever wonder how to prepare nice looking test execution report with videos in Cypress? If so this blog post is for you! I will explain how to step-by-step configure Cypress project to generate beautiful HTML report and how to automatically publish it on GitHub Pages using GitHub Actions.
Cypress is one of the most popular test automation framework nowadays. It’s open source, easy to learn and has lots of nice features that can accelerate your testing.
But it’s not what I would like to talk about today. I would like to show how to set up Cypress project so that it will automatically generate HTML report with test execution and publish it on GitHub Pages, like here. …
How you can write your application accordingly to Ports & Adapters (aka Hexagonal) architecture and why you should give it a try.
Let’s assume that you’re a freshman at university and you’ve just got first internship in a software engineer company. Or maybe you’re more experience developer who have joined a new company. It doesn’t matter.
Following story is written from the perspective of a newcomer, who makes her/his first steps into new project. Probably it’s a very common for you and I would like to introduce you in this as a way into the Ports & Adapters architecture pattern.
As my primary technology is Java, all examples are presented in this language. …
Have you ever wonder how to achieve fully Infrastructure as a Code approach for deployment of your applications on Kubernetes cluster? No matter if you’ve already achieve it or just started to looking for the best tool, helmfile might be the answer for you. In this blog post I’ll present how you can set up your first helmfile.
This post is a third, and the last, from my series on Kubernetes. In each one of them I present how to deploy applications on a Kubernetes cluster using one of the approaches:
In this blog post I present step-by-step how to deploy multiple applications on Kubernetes cluster using Helm.
This is a second part of my series on Kubernetes. It compares three approaches of deploying applications:
If you haven’t read it first one, I would advise to do that and then go back to this post. …
With this blog post I would like to show you how you can deploy couple applications on minikube (local Kubernetes) cluster.
This is part one of my new series where I compare how to run applications on Kubernetes cluster using 3 approaches:
Before making hands dirty let’s see the overall architecture that we want to deploy:
In this blog post I want to share with you how you can set up GitHub Actions workflows in your Python project to make sure that the code you write is elegant, aligned with all best practices and it’s well tested.
Lately I’ve decided to start to learn Python. Nowadays it’s one of the most popular programming language so it was no-brainer decision to try it out. Especially that I’m still bad at algorithms so I was hoping that I’ll kill two birds with one stone — learn Python and practice it with solving some algorithmic exercises.
Therefore I’ve created a Algorithms Python project on GitHub where I put solutions to problems that I found interesting. …
Today I want to share with you one of my side projects in which I’ve used a new approach to generate couple basic REST endpoints with only few lines of code.
First what is my side project?
It’s very simple, it’s called a NoticeBoard and as the name can tell you it’s software representation of notice board (if you don’t know what’s that — it was used in dark, 20th century, ages where you could find announcements, ads or job advertisements).
The data model consists of 3 entities — Board, Notice & Author. …
In this blog post, I am going to present how I’ve set up my Continuous Integration with GitHub Actions workflows which helps me develop better quality Java application.
Since the end of 2019 GitHub has released its CI/CD (Continuous Integration and Continuous Delivery) tool that helps developers automate their work in building, testing and deploying their application. So all of us can focus on that is the most important and brings the most value — coding.
It’s worth to know, GitHub Actions are not the first tool of this kind. Today there are plenty of them available, like Jenkins, GitLab CI, Travis CI, CircleCI or TeamCity. Unlike the others, GitHub Actions is now part of the GitHub ecosystem and it’s an integral part of it. Plus as GitHub is the biggest host of the open-source code with the largest community, it‘s very likely that it will be used in many projects available on this platform. …