Best of TestingMarch 2025

  1. 1
    Article
    Avatar of elevateElevate·1y

    Applied "Software Engineering at Google"

    Google's software engineering practices provide valuable insights that can be adapted by organizations of any size. Key principles include cultivating a comprehensive testing culture with automated tests, establishing effective code review processes, maintaining thorough documentation, fostering knowledge sharing, managing dependencies wisely, using progressive rollouts and feature flags, refining incident response procedures, proactively managing technical debt, prioritizing psychological safety in teams, and leveraging AI to enhance software engineering. Understanding the 'why' behind these practices and starting with small, impactful changes can help build a strong engineering culture focused on quality and continuous improvement.

  2. 2
    Article
    Avatar of testimioTestim.io·1y

    Unit Test a REST API? Everything You Need to Know

    Learn the importance of proper testing in building high-quality REST APIs and discover the three key types of automated tests you should have in your test suite: unit tests, integration tests, and UI tests. Understand the role of each test type and how to implement them effectively to ensure your application remains stable and bug-free through continuous changes and refactoring.

  3. 3
    Article
    Avatar of swizecswizec.com·1y

    AI writes good tests, actually

    Using AI, specifically Cursor, to write tests can be surprisingly effective. It assists in generating tests based on code comments and intent, identifying bugs, and iterating input combinations. This automation helps focus on creating meaningful input scenarios rather than writing and managing tests manually, making the testing process more efficient and insightful.

  4. 4
    Article
    Avatar of hnHacker News·1y

    microsoft/playwright-mcp: Playwright Tools for MCP

    Microsoft's Playwright MCP is a Model Context Protocol (MCP) server designed for browser automation using Playwright. It allows LLMs to interact with web pages through structured accessibility snapshots, avoiding the need for vision models. Highlights include fast and lightweight operation, LLM-friendly tools, and deterministic tool application. The MCP supports tasks like web navigation, form-filling, data extraction, and automated testing. It’s installable via VS Code CLI and supports both headless and headed modes. There are two modes: Snapshot Mode (default) for performance and reliability, and Vision Mode for visual interactions.

  5. 5
    Article
    Avatar of tinybirdTinybird·1y

    Writing tests sucks. Use LLMs so it sucks less.

    The post discusses the challenges and solutions for testing in data engineering. It highlights several key obstacles, such as data variability, complex transformations, and lack of tooling. Tinybird aims to address these issues with tools like 'tb mock' for generating realistic test data, and 'tb test' for validating data transformations. The use of LLMs to handle mundane aspects of test generation is emphasized, making testing less tedious and more efficient.

  6. 6
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    How to Use TestContainers in .Net

    Learn how to simplify integration testing in .NET using the TestContainers library. This guide covers setting up TestContainers for database testing, managing container lifecycles, and optimizing test performance. Discover how to use various TestContainers strategies, including per-test, per-test-class, and per-multiple-test-classes setups, with practical examples utilizing xUnit. Additionally, explore how to create multiple containers for complex integration tests and use custom Docker images to streamline your testing process.

  7. 7
    Article
    Avatar of testimioTestim.io·1y

    Javascript Methods: A Quick Way to Figure Out Methods to Use

    Testim allows teams to extend the functionalities of its platform by adding their own JavaScript code. You can find inbuilt JavaScript methods supported by Testim using Chrome's Console tab. Common methods like reload(), split(), and trim() are supported. Refer to Testim's documentation for more examples.

  8. 8
    Article
    Avatar of lnLaravel News·1y

    Simplified HTTP Response Mocking in Laravel Tests

    Laravel enhances HTTP interaction testing with elegant shorthand syntax for response fakes, reducing code verbosity and making test mocks more intuitive. This approach simplifies test suite and maintains powerful testing capabilities for API integrations.

  9. 9
    Video
    Avatar of nickchapsasNick Chapsas·1y

    You NEED To Update Your Tests in .NET

    Testing in .NET is undergoing significant changes with the release of xUnit version 3. This update introduces numerous new features, including project templates, configuration files, and enhanced test execution capabilities. The package update requires migrating to a new package rather than a simple version upgrade. The Microsoft Testing Platform is a new lightweight alternative to older testing frameworks, now supported in xUnit v3. Features like test pipeline startup, assembly fixtures, and improved assertions make testing more efficient and flexible. Additionally, there are improvements in test context handling, including adding warnings and attachments to test results.