Best of Testing — October 2023
- 1
- 2
Pointer·3y
usebruno/bruno: Opensource IDE For Exploring and Testing Api's (lightweight alternative to postman/insomnia)
Bruno is an open-source IDE for exploring and testing APIs. It offers a lightweight alternative to Postman and similar tools. Bruno stores API collections directly on the user's filesystem using a plain text markup language called Bru. It allows collaboration through Git or any version control system. Bruno is offline-only, prioritizing data privacy and device storage.
- 3
ByteByteGo·2y
EP82: Open-sourcing Over 100 Byte-sized System Design Concepts
The article discusses open-sourcing over 100 byte-sized system design concepts, best ways to test system functionality, and the complexity of configuring and managing cloud network components. It also explains 5 unique ID generators in distributed systems.
- 4
Earthly·3y
How to Test and Run GitHub Actions Locally
Learn how to test and run GitHub Actions locally using the 'act' tool, which leverages Docker containers. The article explains how to install 'act', explore its features, and provides useful options for testing different types of workflows. It also highlights the limitations of using 'act' for local testing.
- 5
DEV·2y
Unit-Testing: The Unsung Hero of Code Quality 🛡️
Unit testing is essential for code quality as it acts as the first line of defense against bugs, provides immediate feedback, improves code confidence and design. However, it can be time-consuming and requires setting up a testing environment. Passing unit tests doesn't guarantee bug-free code.
- 6
Codemotion·2y
The Ultimate Code Review Checklist for Developers
Code reviews are crucial for identifying errors, enhancing code quality, and promoting collaboration within development teams. A code review checklist helps ensure functionality, code readability, performance, error handling, security, testing, code duplication, code clarity and dependencies, documentation, and compliance with coding standards.
- 7
asayer·2y
Use Thunder Client and VSCode as an alternative to Postman
Thunder Client is a lightweight and intuitive GUI-based REST API testing tool that can be used as an alternative to Postman. It seamlessly integrates with VSCode and offers advantages such as a simple and intuitive UI, support for collections and environment variables, Git synchronization, remarkable speed, CI/CD integration support, and offline requests with local storage. To install and set up Thunder Client, open the VSCode extension section, search for 'Thunder Client', and select the option to install it.
- 8
- 9
LambdaTest·3y
How to Write a Python Configuration File
Python configuration files are essential for managing configurable settings and parameters in Python applications. They offer a centralized and secure repository for managing configuration information, allowing developers and testers to modify settings without touching the codebase. By using Python configuration files, like INI, YAML, and JSON files, configuration settings can be stored and modified without changing the code itself. This improves security and flexibility, making Python configuration files a valuable tool in test automation projects. Some best practices for writing Python configuration files include using intuitive key names, organizing settings with purpose, eliminating redundancy, ensuring consistency, and handling sensitive data securely. Environment variables can be used in Python configuration files to externalize and fine-tune configuration values, ensuring portability and adaptability across different environments. Command-line arguments can be used to override configuration values, providing flexibility and customization in test automation. By implementing these techniques, test automation frameworks can be efficient, customizable, and adaptable to different scenarios and environments.
- 10
- 11
- 12
LambdaTest·3y
How to Use JUnit ErrorCollector [With Examples]
The article discusses the usage and benefits of JUnit ErrorCollector in test automation. It explains the different types of Asserts in JUnit, when to use JUnit ErrorCollector, and the advantages of using ErrorCollector in JUnit test scripts.
- 13
LambdaTest·3y
How to Run Multiple NUnit Test Cases
Learn how to run multiple test cases in NUnit and Selenium using data-driven testing and parallelization. NUnit is an open-source unit testing framework for .NET languages. It provides a simple and intuitive way to write and execute tests. Data-driven testing allows you to test your code with multiple input datasets, and NUnit supports parallel execution of tests to reduce overall test execution time.
- 14
Hacker Noon·3y
Playwright API Testing: a Comprehensive Guide for Beginners
Learn how to automate API testing using Playwright, a powerful Node.js library that allows you to automate browsers like Chromium, Firefox, and WebKit. Set up your project, write tests for different API requests, and implement data-driven testing to enhance your test coverage.
- 15
AWS in Plain English·3y
The Art of DevOps: Best Practices for Streamlining Your Development Pipeline
DevOps is a cultural shift in software development that fosters collaboration between development and operations teams. The best practices of DevOps include continuous integration, continuous delivery, automation, microservices, and monitoring and feedback. DevOps improves efficiency, quality, and innovation in software development.
- 16
- 17
ITNEXT·2y
Unit Testing In Flutter & Dart: Techniques & Best Practices
Learn advanced unit testing techniques in Flutter and Dart, including using test fixtures, handling asynchronous code, and mocking dependencies. Also, discover the importance of code coverage and how to measure it. Avoid common mistakes and pitfalls in unit testing and follow best practices for effective unit testing.
- 18
LambdaTest·2y
How to Take Screenshots in Python Using Selenium
Python screenshots are valuable tools for software testing, documentation, and monitoring. They can be captured using libraries such as Selenium and Pillow. Benefits of screenshot testing with Python include easy implementation, versatility, integration with test automation, identifying UI issues, time and cost efficiency, better communication, A/B testing, and simplified debugging. To capture specific elements from a webpage, Selenium's WebDriver can be used. Automated screenshot capture can be achieved by using libraries like PyAutoGUI and PyGetWindow. Best practices for taking Python screenshots include organizing and storing screenshots, enhancing clarity through annotations and adjustments, optimizing image sizes, and automating the process using Python libraries and tools.
- 19
freeCodeCamp·3y
Cross-Browser Compatibility Testing – Best Practices for Web Developers
Cross-browser compatibility testing is a critical quality assurance process in web development. It involves testing and ensuring that a website or web application functions and appears consistently and correctly across different web browsers and their various versions. Common issues include rendering disparities, CSS style inconsistencies, plugin compatibility challenges, and browser-specific bugs. Neglecting cross-browser compatibility testing can lead to negative user experiences, limited market reach, credibility issues, SEO impact, maintenance burdens, accessibility non-compliance, and missed global audience opportunities. Best practices include identifying target browsers, prioritizing popular browsers, testing on mobile devices, using browser developer tools, leveraging cross-browser testing tools, regularly updating browser lists, validating HTML and CSS, implementing graceful degradation and progressive enhancement, performing automated testing, regularly reviewing and updating procedures, testing accessibility, and documenting and tracking issues. Tools for cross-browser testing include BrowserStack, CrossBrowserTesting, Sauce Labs, LambdaTest, Browserling, Browsershots, Blisk, Ghostlab, and browser developer tools.
- 20
LambdaTest·2y
How To Check If An Element Exists In Python Selenium
Learn how to check if an element exists in Python Selenium during automation testing. Explore different techniques, use cloud platforms like LambdaTest, and understand the benefits of checking element existence. Ensure robust and reliable automation tests for dynamic web pages.
- 21
- 22
Hacker Noon·2y
Test-Driven Development in React: Building Reliable Applications from Scratch
Learn about Test-Driven Development (TDD) in the context of building a React.js application. The article provides a step-by-step guide on setting up a React project, writing tests, and rendering React components in tests. By following TDD practices, you can build more reliable and maintainable React applications.
- 23
Community Picks·3y
A Wide View of Automated Testing in React Apps
This article provides an overview of automated testing in React apps. It explains the benefits of testing for both the development team and the product/organization. The article also discusses the three types of tests in automated testing: unit testing, integration testing, and end-to-end testing. It offers tips for testing different components in a React app and provides general testing suggestions. Overall, the article emphasizes the importance of automated testing in ensuring code quality and reducing bugs.