This is the Software Testing Notes, a newsletter that goes out every Wednesday. I republish it here for sharing and referencing, but if you'd like to sign up you can do so right here:
Hello there! 👋
Welcome to the 141st edition of Software Testing Notes, a weekly newsletter featuring must-read content on Software Testing. I hope this week has been good for you so far.
This week, we will explore:
- Using Bookmarklets to Supercharge Your Testing Power
- A Complete Guide for Beginners: Python Testing with Pytest
- How Developers and Testers Can Align on Testing Goals
- The most abused Cypress command ever
- Detecting Process Death issues with Maestro
and much more…
🙏 We also made
Hand curated collection of best tools on the internet to supercharge your testing.
TestDevTools is a collection of 350+ hand-picked tools & resources for your every testing needs. Whether you're looking for a new Automation tool, framework alternatives, a new way to manage test data, a way to learn development or testing…
📚 Testing
5 Mistakes I Made as a Tester That You Don’t Have To by Manish Saini
Manish Saini shares personal lessons learned throughout his testing career, If you are new to the testing field, this article will help you to avoid common mistakes and grow as testers. The article shares key insights such as importance of smart documentation, prioritizing test design over automation tools, and embracing white-box testing.
Furthermore, Arvinder Kaur has also written about A Day in the Life of a Quality Assurance Engineer at Agoda.
Web Testing Hack – Using Bookmarklets to Supercharge Your Testing Power by Rahul Parwal
Bookmarklet is a powerful tools that can enhance web testing. Find out how in this article by Rahul Parwal. The article explains how to create and customize bookmarklets, highlighting their practical applications in improving testability and efficiency for web testers.
Bridging the Gap: How Developers and Testers Can Align on Testing Goals by Irfan Mujagić
In this article, Irfan Mujagić discusses strategies like clear communication, defining responsibilities, collaborating on test case design, leveraging automation, and promoting a culture of quality to bridge the gap between developers and testers to ensure a robust and efficient testing process.
🔍 Software Testing
⚙️ Automation
Python Testing with Pytest: A Complete Guide for Beginners by Sarah Oakley
Sarah Oakley provides a comprehensive guide on working with Pytest, covering everything from basic test writing to advanced techniques like fixtures, parametrization, and integration with CI/CD pipelines.
The most abused Cypress command ever: cy.wait(TIME) by Sebastian Clavijo Suero
cy.wait()
is easily the most abused Cypress command. Sebastian Clavijo Suero shares how this leads to a large number of flaky tests (and the misunderstanding of Cypress asynchronous nature). The article includes the most comprehensive guide of the use different cases of misuses of cy.wait(TIME) command, and proposing a reliable alternative for each case (includes practical Cypress examples).
Why Staging Doesn’t Scale for Microservice Testing by Arjun Iyer
Canary testing involves deploying changes incrementally to a small subset of users or systems before rolling them out to the entire user base.
Managing separate environments can he daunting task, specially for the microservice architecture. Arjun Iyer argues why traditional solutions, like environment proliferation and feature flags are not feasible in this case, and instead advocates for a method called “canary-style” testing which enables isolated testing within a shared environment, allowing teams to catch issues earlier, maintain stability, and streamline the software delivery process.
GitHub Actions PR Comment With Test Results by Matthew Thomas
github-actions-ctrf — simplifies the process of viewing test results directly in pull requests on GitHub by adding a comment with test outcomes from GitHub Actions.
Matthew Thomas walks us through using github-actions-ctrf
package to display test results directly within GitHub workflow, making it easier to quickly assess test outcomes without searching through console output.
XCUITest: Leverage your tests with Wiremock by Aya Akl
Have you had to integrate WireMock with XCUITest for mocking network calls? Aya Akl shares how to set-up WireMock to mock API responses and managing similar endpoints by using a helper class to interact with WireMock dynamically during tests.
Detecting Process Death issues with Maestro by Alexander Gherschon
Can you use Maestro to detect System-initiated Process Death issue? Answers is Yes. Alexander Gherschon provides a step-by-step guide on setting up Maestro, writing YAML test scripts, and triggering the issue to verify if app data persists after a process death.
Case Study: Use Selenium To Extract A List of Published Medium Article Titles by Courtney Zhan
An interesting use case by Courtney Zhan. If you want to learn and master the art of Selenium and see how things get done, read this article. Courtney provides a detailed step-by-step guide on how to implement a Selenium script to handle Medium's lazy loading of articles, scroll through all published stories, extract their titles, and save them to a file.
Pytest and PostgreSQL: Fresh database for every test by Libor Jelínek
Libor Jelínek guides readers through automating database setup and teardown. The article details how to configure and implement the Pytest fixture, including optional Yoyo migrations to populate the PostgreSQL database, making it useful for tests requiring a known database state.
How Do I Combine Playwright HTML Reports After Running Multiple Playwright Commands? by Butch Mayhew
What will you do if you had to combine Playwright test reports, even when tests are run separately? Butch Mayhew introduces us with the use of the "blob" reporter in Playwright and provides a step-by-step guide on how to create a utility script for copying and merging these blob reports.
🔍 Test Automation
💨 Performance
Performance and Scale test K8s platform using kube-burner by Mohit Jasuja
Kube-burner — is an orchestration tool for conducting large-scale performance and stress tests on Kubernetes environments.
Mohit Jasuja shares how to configure Kube-burner through YAML files, including setting up job parameters, object templates, indexing for metrics collection, and running scalable tests in Kubernetes clusters by automating the creation, management, and cleanup of resources, while also providing insights into cluster performance through metrics.
🔍 Performance Testing
🌞 Accessibility
WICK-A11Y Cypress Plugin: Your Unstoppable Ally for Smashing Accessibility Barriers, Cool as John Wick! by Sebastian Clavijo Suero
wick-a11y — is a Cypress plugin designed for performing configurable accessibility tests using AXE.
Sebastian Clavijo Suero has created this Cypress plugin that performs a very extensive Accessibility analysis that provides interactive graphical analysis, html report with screen shots with details and proposed solutions, and more.. Sebastian share reasoning behind creating this plugin and gives us a walkthrough on how to implement the accessibility tests with it.
Ensuring Web Accessibility with Cypress: A Comprehensive Guide by Madhur Batra
In this article, Madhur Batra details how to use custom commands and features of cypress-axe and how the Accessibility Logger enhances the visibility of detected issues, providing detailed logs for better understanding and resolution of accessibility problems.
🔍 Accessibility Testing
🛠️ Resources & Tools
Tracetest — Opensource tool to build end-to-end tests 98% faster utilizing trace-based testing.
Rig — an open-source application platform for Kubernetes with Dashboard, CLI, and CI/CD pipelines that seamlessly integrate with GitHub Actions.
k6 — Grafana k6 is an open-source load testing tool that makes performance testing easy and productive for engineering teams. k6 is free, developer-centric, and extensible.
zerostep — JavaScript library that adds AI actions and assertions to Playwright
📝 List of Software Testers
It's hard to find good articles, podcasts on Software Testing. Even hard to find people who create them. Are you also looking for amazing software testers to follow or read their content ? check out this page dedicated to software testers.
Do you also create content around Software Testing ? Submit yours here and I will add it to the list.
🎁 Bonus Content
📌 OTHER INTERESTING STUFF
- 5 Ways to Increase Your Learning Throughput
- How a DevOps Team Became a Platform Engineering Team
- Feedback is What Makes Everything Work
⭐ LAST WEEK'S MOST READ
- How Uber Tests Payments In Production by Alvaro Duran
- Unlocking the Potential of ChatGPT with C.L.E.A.R Prompts by Viv Richards
- Load Test your APIs with K6 by Vaibhav Patil
😂 And Finally,
📨 Send Me Your Articles, Tutorials, Tools!
Wrote something? Send links via Direct Message on Twitter @thetestingkit (details here). If you have any suggestions for improvement or corrections, feel free to reply to this email.
Thanks to everyone for subscribing and reading!
Happy Testing!
Pritesh(@priteshusdadiya)
Did You Enjoy This?
Then consider joining the 2,667 other people getting the Software Testing Notes newsletter. It's a collection of fascinating finds from my week, about wide range of topics surrounding software testing and whatever else catches my interest.