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 137th 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:
- Exploring the challenge of defining quality
- Detailed step by step guide for Spring Boot app testing with Testcontainers
- Three optional styles for UI assertions in Cypress
playwright-magic-steps
to simplify and organize Playwright test code.- How to perform WinRM Penetration Testing
- and 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
What Is Quality? by Rob Park
An excellent article by Rob Park exploring the challenge of defining quality in the context of software development. The article also highlights the operational definition of quality as the degree to which a product or service meets or exceeds customer expectations, ensures reliability and ease of use, and incorporates ongoing feedback and innovation.
Rethinking Determinism and Testing in Software Development: A Path to Zero Defects by Bob Marshall
In this article, Bob Marshall shares his views on challenging traditional software development concepts like determinism and testing and proposing a shift towards a zero-defects approach.
What Do You Do When You Have Nothing to Test? by Daniel Knott
Do you get some spare time in between your testing activities? Daniel Knott has some suggestion that you can do to grow as a tester.
🔍 Software Testing
⚙️ Automation
Mastering Testing in Django REST Framework: From Pytest and Fixtures to Mocks and Coverage by Mateo Ramirez Rubio
Want to get yourself into testing with Python? Mateo Ramirez Rubio has prepared a really great guide with practical example of using Pytest to test Django application, including essential concepts such as fixtures and mocks, to test execution and test coverage with coverage.
A Case for Integration Tests: Implementing effective integration tests on Spring Boot – Databases by Daniel Andres Pelaez Lopez
The article discusses implementing effective integration tests for databases in Spring Boot applications, emphasizing the importance of addressing challenges related to test speed and ease of setup. Daniel Andres Pelaez Lopez provides detailed steps for setting up Testcontainers with Spring Boot, including adding dependencies, configuring the application, and using SQL scripts and JSON files to manage and validate test data.
Fancy Test 'Todo' in Kotlin & Junit5 by Sebastian Sellmair
A great guide by Sebastian Sellmair showing how to implementing a custom '@Todo' annotation for Junit5 in Kotlin.
Mastering Selenium WebDriver for Efficient Automation Testing by Sachin Gadekar
Sachin Gadekar covers essential topics like setting up Selenium WebDriver, writing and executing basic tests, locating web elements, performing actions, and employing advanced features, along with best practices like using the Page Object Model, explicit waits, and logging for enhanced test automation.
Furthermore, Divyarajsinh Dodia has also written about Selenium Best Practices for Efficient and Reliable Test Automation.
Read QR Code content using Selenium , TestNG & Zxing by Deep Shah
ZXing (“zebra crossing”) is an open-source, multi-format 1D/2D barcode image processing library implemented in Java.
Here is a practical code example by Deep Shah using ZXing library to test QR codes with Selenium and TesetNG.
Three optional styles for UI assertions in Cypress by Sam Lawrence
This blog post discusses three optional styles for UI assertions in Cypress. Sam Lawrence compares the use of cy.contains()
, which is simple but less clear, cy.get().should()
, which provides better log visibility, and a more verbose cy.get().invoke('text').then(expect())
method that shows both expected and actual text in logs.
Introducing Playwright-magic-steps: Simplify your Test Automation Workflow by Vitaliy Potapov
Vitaliy Potapov has created a tool called playwright-magic-steps to simplify and organize Playwright test code by converting JavaScript comments into test.step()
calls and providing detailed step reports. The article shows it’s functionality with an example.
Speaking of tools, Kohki Miki have also created a tool that converts test cases written in XCTest to swift-testing.
End-to-End Testing in React Native with Maestro: A Comprehensive Guide by Jackson Smith
Take a look at this thorough guide by Jackson Smith sharing how to set up Maestro framework for iOS application end to end testing.
🔍 Test Automation
💨 Performance
Improve UX With Load and Performance Testing by Dennis Martinez
Dennis Martinez has written an another excellent article. This time around he explains how load testing assesses a system's capacity to handle high traffic, while performance testing evaluates its responsiveness and resource usage. The article provides practical guidance on setting up and executing these tests, underscoring their role in identifying and resolving potential bottlenecks before applications are deployed to production.
🔍 Performance Testing
🌞 Accessibility
Accessibility Testing Made Easy: 7 Tools to Build Truly Inclusive Websites by Victor Uma
Victor Uma shares several web accessibility testing tools such as WAVE, Axe, Google Lighthouse, EqualWeb, SiteImprove, Pa11y, and Taw, detailing their features, strengths, and weaknesses.
🔍 Accessibility Testing
🔒 Security
Make a Fearless Start With Security Testing by Sander van Beek
Even if you are not an security testing expert, there are few ways you can help bring more security to the product. Sander van Beek highlights practical ways a non security testing expert can help, such as checking for broken access control, injection attacks, and vulnerable dependencies, using guidelines and tools like the OWASP top 10 and OWASP ZAP.
WinRM Penetration Testing by Vinayak Chauhan
In this article, Vinayak Chauhan covers practical setup instructions for enabling and testing WinRM on Windows Server 2019 and Windows 10, along with various methods for lateral movement and remote access, such as using PowerShell, Metasploit, and Docker.
🔍 Security Testing
🛠️ Resources & Tools
SQLite Schema Diagram Generator — A SQLite schema diagram generator built with Makefile, to help get a quick overview of your database schema without installing a large complex tool.
pgmock — An in-memory, dependency free PostgreSQL mock server for unit and end-to-end tests that runs entirely within WebAssembly on both Node.js and the browser.
Distrobox — A shell application that allows you to use any Linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you want.
📝 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
- Automate Routine Tasks With an Ad-Hoc Ansible Script
- The Overlooked Aspects of Successful Development Teams
- Don't Give Every Minute a Job
LAST WEEK'S MOST READ
- A Simple and Effective E2E Test Architecture with Playwright and TypeScript by Denis Skvortsov
- Testing Too Late: A Case Study by Brie Ransom
- How to Stop Writing Tests That Suck by Alec García Barba
😂 And Finally,
This is how you have Crowdstrike Crash 🤣
📨 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.