dev.to dev.to

Consumer-Driven Contract Testing with Pact

Introduction Consumer-driven contract testing is an alternative to end-to-end tests where not all services have to be deployed at the same time. It enables testing a distributed system in a decoupled way by decomposing service interactions into consumer and provider tests that can be executed independently. Pact is the de facto standard for consumer-driven contract testing. It is mainly used for testing request-response...

dev.to dev.to

Processing sass with 11ty

My Eleventy (11ty) project I recently discovered 11ty and used the static site generator to build a business website. I like that 11ty allows working with different templates and mixing them too. In this site I used Nunjucks, Markdown and Sass. Now, 11ty doesn't have Sass pre-processing built-in. So I had to find my own way. Turning scss into css There are a few approches to solve this problem using filters or...

dev.to dev.to

Git hacks you should know about

In this post, we're going discuss some very useful tricks on Git which literally can save your ass if you screwed up things on Git. Now, without any further ado, let’s get started 🏃🏻‍♂️ Fix last commit message Have this ever happened to you that you actually want to commit "Final comment" but what you actually typed is "Final commment". Well, it's a shame if other people found out that your comment consists of...