Tag: Tdd
-
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 tdd nodejs web-development app-development
-
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 tdd performance app-development web-development browsers
-
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 programming tdd app-development
-
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 monitoring tdd nosql app-development devops
-
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 php web-development app-development tdd
-
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 nodejs javascript web-development frontend tdd
-
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 database cicd tdd nosql
-
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 nosql cloud devops microservices tdd serverless
-
Test your APIs further using HTTP Toolkit
Posted on December 24, 2021, Level intermediate Resource Length long
If you're a tester or developer who needs to work with APIs across different platforms, HTTP Toolkit is a valuable tool to keep by your side. By Anshul Behl. By Dennis Martinez.
Tags restful cio apis devops tdd cloud
-
Introduction to ansible-test
Posted on December 23, 2021, Level beginner Resource Length medium
As automation becomes crucial for more and more business cases, there is an increased need to test the automation code itself. This is where ansible-test comes in: developers who want to test their Ansible Content Collections for sanity, unit and integration tests can use ansible-test to achieve testing workflows that integrate with source code repositories. By Anshul Behl.
Tags devops ansible tdd cloud
-
3 ways to use load tests beyond performance
Posted on December 7, 2021, Level beginner Resource Length medium
Most teams use load testing only for performance or stress tests. But they can also help uncover infrastructure issues early. Read on to see how load tests can help make your entire system more resilient at its foundation. By Dennis Martinez.
Tags tdd cloud miscellaneous performance agile web-development
-
Test like you fly - intro
Posted on September 4, 2021, Level beginner Resource Length medium
In contrast to all the other important test methodologies, "Test Like You Fly", or TLYF for short, emphasizes testing to find fundamental flaws in a system that will prevent it from performing the mission. Most testing methodologies strive to confirm that requirements - the input to our designs - are being met by the system as written. By Tim Chambers.
Tags app-development tdd devops software-architecture agile performance