Best of TestingJanuary 2025

  1. 1
    Article
    Avatar of softwaretestingmagazineSoftware Testing Magazine·1y

    Open Source API Testing Tools

    With the increasing adoption of SOA and microservices architecture, multiple open-source tools have emerged for automated API testing. This post reviews tools such as Airborne, APIAuto, Apickli, ArexTest, Bruno, Dredd, Firecamp, Frisby, Insomnia, Mountebank, RestAssured, Schemathesis, SoapUI, SuperTest, and Tavern. These tools support various protocols (REST, SOAP, GraphQL) and offer functionalities like test management, integration with CI/CD processes, and detailed logging.

  2. 2
    Article
    Avatar of appsignalAppSignal·1y

    Fuzz Testing REST APIs in Node.js

    Fuzz testing helps ensure your code can handle unexpected inputs by generating many valid and invalid data combinations to test REST APIs. Using tools like Fuzzmatic, you can create a comprehensive suite of tests to identify and fix potential issues early. This approach can be automated and integrated into CI/CD pipelines, providing robust protection and increasing confidence in your code before it reaches production.

  3. 3
    Article
    Avatar of mtlynchMichael Lynch·1y

    if got, want: A Simple Way to Write Better Go Tests

    Learn a simple and effective way to write better Go tests using the 'if got, want' pattern. This method enhances readability and reduces errors by clearly distinguishing between test assertions and logic. It works especially well in table-driven tests and avoids the need for third-party test libraries. The post provides several examples demonstrating the technique.

  4. 4
    Article
    Avatar of awegoAwesome Go·1y

    Testable Examples in Go

    Testable examples in Go allow code snippets to be used as package documentation and verified as part of the test suite. These examples help ensure documentation stays current with API changes. Example functions are special test functions that start with 'Example' and can be run in the Go documentation web interface. Examples include output comments to check expected results, and whole file examples for comprehensive demonstrations.

  5. 5
    Video
    Avatar of webdevcodyWeb Dev Cody·1y

    If you don''t write tests, you're NGMI

    Writing tests is crucial in software development to ensure new changes don't break existing functionality. The post walks through the process of using the v-test framework to write a test for a game, fixing a bug related to ammo management. It highlights setting up tests, writing expect statements, and the importance of maintaining small, manageable tests. Practical steps are provided to demonstrate test driven development in a game server scenario.

  6. 6
    Article
    Avatar of lnLaravel News·1y

    Optimizing Factory Data Creation with Laravel's recycle Method

    Laravel's factory system now includes the recycle method, which enhances efficiency by reusing model instances across multiple factory calls. This feature is useful for creating complex data structures with shared relationships, significantly improving performance. A practical example is provided to demonstrate how to generate sales reports in an e-commerce environment by recycling categories and products.

  7. 7
    Article
    Avatar of storybookStorybook·1y

    Storybook 8.5

    Storybook 8.5 introduces major enhancements including realtime accessibility tests using the Axe a11y addon, project code coverage for more thorough UI testing, and focused tests for faster feedback. The release also introduces the React Native Web Vite framework for mobile UI testing and announces the Storybook Test Bootcamp. Hundreds of improvements and support updates for various frameworks are included.

  8. 8
    Article
    Avatar of communityCommunity Picks·1y

    An introduction to Continuous Integration (CI) and Continuous Delivery (CD) pipelines for software testers

    Continuous Integration (CI) and Continuous Delivery (CD) pipelines automate the process of building, testing, and deploying code, resulting in faster releases, better code quality, and immediate feedback. Testers, regardless of their automation skills, can significantly contribute to these pipelines by focusing on exploratory and non-functional testing, enhancing test reviews, and improving overall system quality.

  9. 9
    Article
    Avatar of javarevisitedJavarevisited·1y

    Top 5 Courses to Learn Playwright for Test Automation in 2025

    Playwright is a modern, open-source automation framework developed by Microsoft for reliable end-to-end testing across multiple browsers. The post outlines the top five courses to learn Playwright in 2025, suitable for various skill levels. It provides details on each course's platform, level, and key features, aiming to help developers and testers enhance their test automation skills.

  10. 10
    Article
    Avatar of milanjovanovicMilan Jovanović·1y

    Unit Testing Clean Architecture Use Cases

    Writing quality tests is crucial for the success of any software project. This guide focuses on unit testing Clean Architecture use cases in .NET. It explains the importance of testing, different types of tests, and provides specific examples using a typical apartment booking reservation system. Key points include the use of mocks, handling success and failure scenarios, verifying exception handling, and understanding the limitations of test coverage. Good tests act as documentation and help catch issues early, providing confidence in the code.

  11. 11
    Article
    Avatar of gcgitconnected·1y

    Java 23, SpringBoot 3.3.4: AI-Driven: JUnit 5, Mockito — Part 3

    Dive into advanced features of JUnit 5 and Mockito for enhancing test cases in the build pipeline. Learn about the industry preference for JUnit 5, its community support, and its integration with Spring Framework. Discover the role of various assertion libraries like Hamcrest, Google Truth, and AssertJ. Understand the importance of test automation in fast software delivery, and explore the fundamentals and usage of Mockito for creating reliable test cases in Java projects.

  12. 12
    Article
    Avatar of frontend_developerFrontend developer·1y

    Free fake and reliable API for testing

    JSON Placeholder provides a free, fake, and reliable API for testing and prototyping applications. It helps developers simulate server requests without requiring a real backend.

  13. 13
    Article
    Avatar of programmingdigestProgramming Digest·1y

    Mistakes You Have to Make Yourself

    Dan McKinley humorously discusses inevitable programming and technical leadership mistakes that must be experienced firsthand. Annie Vella explores the impact of AI on software engineering roles. Kostis Kapelonis highlights 13 common anti-patterns in software testing. Moncef Abboud delves into the implementation details of various compression algorithms for Kafka. Pedro Ramalhete examines the nuances of coordination and sharing in concurrent programming.

  14. 14
    Article
    Avatar of watercoolerWatercooler·1y

    It happened to me once, felt incredible 😭

  15. 15
    Article
    Avatar of communityCommunity Picks·1y

    Testing Accessibility with Screen Readers

    This guide covers the importance of accessibility in web development and provides a detailed overview of how screen readers work. It includes practical tips for testing applications with various screen readers and improving accessibility using the accessibility tree. Key areas of focus include keyboard navigation, proper labeling, and clear content organization. The guide also emphasizes the need to design with accessibility in mind from the start and to complement automated testing with real user feedback.

  16. 16
    Video
    Avatar of nickchapsasNick Chapsas·1y

    Stop Using FluentAssertions Now

    FluentAssertions has become a paid library with its version 8 release, costing $130 per developer. The library, previously free, is now under the ownership of Exed Software. The move has faced significant backlash for its sudden pricing introduction. Users are advised to stay on version 7 or consider alternatives.

  17. 17
    Article
    Avatar of foojayioFoojay.io·1y

    Token Bucket Rate Limiter (Redis & Java)

    The token bucket rate limiter is an efficient mechanism to manage request rates by using tokens added to a bucket at fixed intervals. Redis is used for tracking tokens, while Jedis provides a simple API for Redis commands from Java. The implementation includes adding dependencies, creating a TokenBucketRateLimiter class, validating requests, refilling tokens, and updating Redis. Thorough testing ensures correct behavior, including independent handling of clients, token refills, and capacity limits.

  18. 18
    Article
    Avatar of phProduct Hunt·1y

    fixa - open-source testing and observability for voice agents

    Fixa is an open-source platform designed to provide testing and observability for voice agents, helping developers ensure their voice applications are efficient and reliable. It offers tools and features specifically tailored to the needs of voice agent development, making it easier to detect issues and optimize performance.