Notes on teaching Test Driven Development
Posted on September 20, 2023, Level beginner Resource Length medium
Notes from interesting exercise where author was helping a client learn how to apply Test Driven Development and developer testing from scratch. The developer in question was very inquisitive and trying hard to understand how best to apply testing and even a little TDD. By @jeremydmiller.
How to use MailHog to test emails locally (step-by-step guide)
Posted on September 13, 2023, Level beginner Resource Length long
MailHog is an open source email testing tool that allows developers to test their email sending and receiving capabilities more efficiently. It is a lightweight and easy-to-use tool that can be run on multiple operating systems, including Windows, Linux, FreeBSD, and macOS. By Salman Ravoof.
Why integration testing is key to testing microservices
Posted on August 1, 2023, Level intermediate Resource Length medium
The main idea behind microservices is to break down large, monolithic systems into smaller, more manageable components that can be developed, tested, and deployed independently. Testing microservices can be challenging due to their highly distributed and independent nature. By Rajkumar Venkatasamy.
How to implement chaos testing for your backend services using k6
Posted on July 7, 2023, Level intermediate Resource Length medium
Testing is essential to ensure that your software application performs as expected. No doubt about it. But even if your application runs smoothly in a testing environment, unexpected incidents can occur in production, such as a crashed database or a lost connection to a third-party service. By Donald Le and Tomas Fernandez.
What is the best time to perform regression testing?
Posted on June 4, 2023, Level beginner Resource Length short
When does regression occur in a software product? Whenever there is any change in the application code. Application or software development is not complete without adding new features or changing its existing code. By Geosley Andrades.
Why and how to replace end-to-end tests with synthetic monitors
Posted on March 9, 2023, Level beginner Resource Length medium
An older article about potential alternative to classic end-to-end tests: synthetic monitors. A thousand tests can't prove your software works. They can only prove it doesn't. When your code reaches production, even the most thorough end-to-end tests can't prevent your users from seeing that "500 - Unexpected Server Error" screen that keeps you awake at night. By Lucas da Costa.
Testing asynchronous message driven architecture
Posted on January 5, 2023, Level intermediate Resource Length medium
Tests are vital parts of our systems. Easy to understand and modify tests will help us in keeping the project in good shape for long period of time. First we may start with synchronous code, however sooner or later we will need to start processing part of our flows asynchronously, and this is when Message Driven Architecture becomes handy. By Dariusz Gafka.
How to add Playwright tests to your pull request CI with GitHub Actions
Posted on November 14, 2022, Level intermediate Resource Length medium
If you're like me, you really appreciate a test automation step as part of your pull request (PR) CI for that added confidence before merging code. I want to show you how to add Playwright tests to your PRs and how to tie it all together with a GitHub Actions CI workflow. By Liran Tal.
Using Watir to automate web browsers with Ruby
Posted on November 9, 2022, Level beginner Resource Length medium
Browser automation describes the process of programmatically performing certain actions in the browser (or handing these actions over to robots) that might otherwise be quite tedious or repetitive to be performed manually by a human. By Jude Ero.
How to unit-test extension methods in C#
Posted on October 15, 2022, Level beginner Resource Length short
A good coding practice is to keep the view layer in an MVC structure as simple as possible and with no or minimal logic. A common practice to extract common logic that you might want to use in many places is to create an extension method that could be used across views. This moves to logic from the views into a C#-based method. By Linus Ekström.
A beginner's guide to benchmarking with NoSQLBench
Posted on June 13, 2022, Level intermediate Resource Length medium
There are several benchmarking tools in the market but most of them require esoteric coding knowledge. NoSQLBench is simple to use while providing sophisticated benchmarking for Cassandra and other NoSQL databases. It provides results within minutes. By Jones-Gilardi.
Pest - PHP testing framework that goes above and beyond PHPUnit
Posted on April 25, 2022, Level intermediate Resource Length short
When building third-party APIs, it's important to test your code in every runtime scenario you've seen or can foresee. For this, a robust and easy to use & maintain testing framework is a must. By Peter Villani.