Best of Testing — March 2024
- 1
- 2
- 3
- 4
freeCodeCamp·2y
How to Set Up React Testing Library With Next.js – A Step-by-Step Guide
Learn how to set up React Testing Library with Next.js and understand the importance of testing in React development. Explore the features and benefits of React Testing Library and how it simplifies the testing process. Includes a step-by-step guide and an example of testing a board in a 2048 game.
- 5
- 6
- 7
DEV·2y
Building for Accessibility
Building for accessibility is important for inclusivity, legal compliance, contribution to sustainable development goals, empathy, and better user experience. The POUR principles (Perceivable, Operable, Understandable, Robust) should be followed to build for accessibility. Various testing methods can be used to assess website accessibility.
- 8
- 9
Community Picks·2y
Feature flags are ruining your codebase
Feature flags have their benefits but can lead to a more complex codebase, waste time on dead code, make testing harder, and prevent hard decisions from being made. Different categories of feature flags should be managed differently, and it's important to acknowledge their existence to align expectations between developers and PMs. Removing feature flags can be a challenge and requires accountability. Overall, feature flags are a powerful tool when used appropriately.
- 10
Community Picks·2y
Ultimate Guide to Visual Testing with Playwright
Visual testing automates the process of comparing an app's current state to baseline images to ensure visual integrity. It catches bugs that other testing methods miss and saves time and effort in backtracking and bug-fixing. Best practices include regularly running visual tests, using a good strategy for updating snapshots, and adding visual tests incrementally as the app stabilizes.
- 11
Product Hunt·2y
Radical.sh - Generate Spring Boot / Nest JS API's In Minutes
Radical.sh is a low code solution for generating Spring Boot and Nest JS APIs. It provides features like rapid API development, unit and integration testing, support for multiple databases, Kafka-based synchronization, and authentication.
- 12
Community Picks·2y
Unit Testing in Node.js and TypeScript: A Comprehensive Guide with Jest Integration
A comprehensive guide on unit testing in Node.js and TypeScript using Jest. Covers setting up the testing environment, understanding unit testing with Jest, advanced testing techniques, and best practices for writing unit tests.
- 13
- 14
DEV·2y
Power Automate - How to Test your Flows
The post discusses the importance of testing and provides tips on how to test Power Automate flows. It covers unit testing and end to end testing, and highlights the importance of designing flows with smaller units. It also emphasizes the need for a testing plan and segregation of duties in end to end testing.
- 15
Java Code Geeks·2y
CI/CD Pipeline Best Practices
Best practices for CI/CD pipelines include version control integration, automated testing strategies, build automation, streamlining workflows, ensuring code quality, deployment best practices, and monitoring and feedback loops. These practices help improve software delivery, efficiency, and quality.
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
LambdaTest·2y
16 Selenium Best Practices For Efficient Test Automation
This post provides 16 Selenium best practices for efficient test automation. It covers topics such as avoiding blocking sleep calls, naming test cases appropriately, setting the browser zoom level to 100 percent, using the best-suited web locator, implementing logging and reporting, using design patterns like Page Object Model (POM), and leveraging parallel testing in Selenium. The post also includes a list of worst practices to avoid in automation testing with Selenium.
- 25
Bitfield Consulting·2y
Programming with confidence: TDD in Go — Bitfield Consulting
This post discusses the importance of test-driven development (TDD) in Go. It highlights the benefits of writing tests first and how it helps in creating self-testing code. It also explains the process of verifying the correctness of a test.