Best of TestingDecember 2023

  1. 1
    Article
    Avatar of devtoDEV·2y

    React is Slow, What to do now?

    This post discusses the I/O and CPU performance challenges in React applications and provides solutions to improve performance.

  2. 2
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    How to Test JavaScript Code with Jest

    Learn how to test JavaScript code with Jest, a delightful and versatile testing framework developed by Facebook. The article covers the core features of Jest, provides basic examples of writing tests, and introduces a course on freeCodeCamp's YouTube channel for further learning.

  3. 3
    Article
    Avatar of logrocketLogRocket·2y

    How to test React Hooks

    This article provides a practical guide to testing React Hooks using tools such as React Testing Library, Jest, and Enzyme. It covers the importance of testing in the frontend, the benefits of React Hooks, and how to write tests for React Hooks using different testing frameworks. It also compares Jest, React Testing Library, and Enzyme in terms of performance, usability, mocking capabilities, scalability, and maintenance. The article also addresses common pitfalls when testing React Hooks and provides solutions for them, such as mocking API requests and testing side effects. Overall, it serves as a comprehensive resource for developers looking to test React Hooks effectively.

  4. 4
    Article
    Avatar of uxplanetUX Planet·2y

    Glaring UX Mistakes on Real Apps — Part 1

    Learn from existing design mistakes to improve your own design journey. This article highlights five common UX mistakes found in real apps and provides tips for avoiding them.

  5. 5
    Article
    Avatar of medium_jsMedium·2y

    Test and Cover Your Code Today!

    Learn how to improve code test coverage and generate a report using a new GitHub Action.

  6. 6
    Article
    Avatar of communityCommunity Picks·2y

    Storybook for React Server Components

    Storybook for React Server Components allows for isolated component development and testing on the server. It supports async components using suspense and provides mocking solutions for data access layer and network requests. The current implementation is experimental and has limitations in fidelity and convenience. To use Storybook for RSC, upgrade to Storybook 8.0 alpha and enable the experimentalNextRSC feature.

  7. 7
    Article
    Avatar of communityCommunity Picks·2y

    You are never taught how to build quality software

    Many software projects lack proper quality assurance measures, which can lead to chaotic and stressful release cycles. Computer science education often neglects teaching about QA, even though it is crucial for delivering bug-free software. QA standards are often cut from projects due to budget constraints, resulting in minimal and inadequate testing. To improve the situation, developers need to speak up about the importance of QA and frame it in terms of cost to get management buy-in. Implementing a minimal effective dose of QA measures and focusing on core features can gradually improve software stability. Taking ownership and advocating for QA can benefit both the project and individual developers.

  8. 8
    Article
    Avatar of codemazeCode Maze·2y

    Using the CLI to Build and Run .NET Applications

    This article explores how to use the CLI to build and run .NET applications. It covers creating a new project, running the application, building the application, adding package references, publishing the project, creating a solution, and testing the solution using the CLI.

  9. 9
    Article
    Avatar of logrocketLogRocket·2y

    Comparing Next.js testing tools and strategies

    This post explores various testing strategies and tools available for Next.js applications, comparing their features, benefits, and use cases. It covers Jest and React Testing Library for component, integration, and unit tests, as well as Vitest for lightweight, blazing-fast testing. It also provides code examples and benchmarks for comparison.

  10. 10
    Article
    Avatar of asayerasayer·2y

    API Testing Made Easy with Jest: Tips and Tricks for Efficient Testing

    This article explores the importance of API testing and provides tips and tricks for efficient testing using the Jest framework. It explains how to set up Jest for API testing, including installation and configuration. The article also covers mocking API requests, integration and end-to-end testing, writing API test cases, handling authentication and authorization, advanced API testing techniques, and best practices. By mastering API testing with Jest, developers can ensure the reliability, security, and performance of their web applications.

  11. 11
    Article
    Avatar of communityCommunity Picks·2y

    Loco

    Loco is a tool that empowers solo developers by providing everything they need for service, data, emails, background jobs, tasks, and CLI. It follows Rails concepts but is adapted to modern Rust development. Loco is optimized for solo developers and can be scaled as needed. It allows developers to build incrementally and includes easy ways to test applications.

  12. 12
    Article
    Avatar of asayerasayer·2y

    End-to-end React apps testing made easy with Puppeteer

    This post explores how Puppeteer makes automated testing simple and effective for React applications. It explains what Puppeteer and Jest are and provides instructions on setting up a project with Puppeteer and Jest.

  13. 13
    Article
    Avatar of freekFREEK.DEV·2y

    New major versions for spatie/image and Laravel Media Library have been released

    New major versions for spatie/image and Laravel Media Library have been released. These versions provide easy image manipulation using PHP and include improvements in efficiency and maintainability.

  14. 14
    Article
    Avatar of communityCommunity Picks·2y

    The Complete Puppeteer Cheatsheet

    Puppeteer is a Node.js library developed by Google for controlling headless Chrome and Chromium. It allows you to automate UI testing, scraping, screenshot testing, and more.

  15. 15
    Article
    Avatar of communityCommunity Picks·2y

    How We Scale to 16+ Billion Calls

    Learn how engineering teams can ensure reliability and performance during peak traffic events, strategies for handling increased traffic during the holiday season, and recommendations for testing and validation before the holidays.