Tag: Testing and quality
-
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.
Tags product-and-design leadership-and-career software-engineering testing-and-quality devops-and-ci-cd
-
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.
Tags testing-and-quality frontend-and-mobile product-and-design miscellaneous
-
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.
Tags software-engineering cloud-and-infrastructure testing-and-quality miscellaneous leadership-and-career
-
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.
Tags testing-and-quality devops-and-ci-cd product-and-design architecture-and-apis backend-development
-
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.
Tags testing-and-quality backend-development frontend-and-mobile product-and-design
-
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.
Tags testing-and-quality software-engineering product-and-design frontend-and-mobile miscellaneous
-
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.
Tags software-engineering testing-and-quality product-and-design
-
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.
Tags devops-and-ci-cd testing-and-quality data-and-analytics product-and-design
-
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.
Tags backend-development frontend-and-mobile product-and-design testing-and-quality
-
Dependency injection in JavaScript: Write testable code easily
Posted on March 25, 2022, Level beginner Resource Length medium
I struggled with two aspects of software development as a junior engineer: structuring large codebases and writing testable code. Test-driven development is such a common technique that is often taken for granted, but it's not always clear how code can be made fully testable. By Nate Anderson.
Tags backend-development frontend-and-mobile testing-and-quality
-
Applying test-driven development to your database
Posted on February 20, 2022, Level intermediate Resource Length medium
Test-driven development (TDD) is a popular software development methodology that aims to reduce defects and improve the ease of maintaining code. In this post, you learn how to apply TDD to write queries and expressions with the Fauna Query Language (FQL). By Ron Callahan.
Tags cloud-and-infrastructure data-and-analytics devops-and-ci-cd testing-and-quality
-
How using same programming language for IaC made AWS Step Function testable
Posted on January 28, 2022, Level intermediate Resource Length medium
AWS Step Functions are difficult to test. I found an approach to testing that helped in one particular scenario. It relies on using the same programming language for both testing and infrastructure-as-code (IaC). I hope the idea helps others tame their Step Functions into a testable submission. By Graham Allan.
Tags data-and-analytics cloud-and-infrastructure devops-and-ci-cd architecture-and-apis testing-and-quality