Choosing an Automated Testing Framework for C Language and Best Practices for Assertions

Choosing an Automated Testing Framework for C Language and Best Practices for Assertions

Introduction In C language project development, unit testing is an important means to ensure code quality. However, as a low-level language, C lacks the rich standard testing frameworks found in higher-level languages like Java and Python. This article will systematically review the characteristics and applicable scenarios of mainstream C language automated testing frameworks from a … Read more

Practical Python Programming: Understanding unittest and pytest Testing Frameworks

Practical Python Programming: Understanding unittest and pytest Testing Frameworks

As software development grows, you will find: • Requirements keep changing • Bugs reappear after being fixed • You hesitate to modify functions as they increase At this point, automated testing becomes your “safety net”. Python provides two mainstream unit testing frameworks: • unittest (official library, built-in) • pytest (third-party library, more modern) This article … Read more

Case Study of AI Large Models in Testing: A New Paradigm of UI Automation Testing Driven by Multi-Agent Collaboration (Meituan)

Case Study of AI Large Models in Testing: A New Paradigm of UI Automation Testing Driven by Multi-Agent Collaboration (Meituan)

Follow us to stay updatedIntroduction:This intelligent scenario focuses on UI automation testing, with a case study from Meituan, highlighting the exploration of multi-agent collaboration.The complete materials can be obtained at the end of this article.The pain points of testing will not be elaborated here; let’s get straight to the point.Three modes of human-machine collaboration are … Read more

How to Complete Unit Testing for Embedded Code?

How to Complete Unit Testing for Embedded Code?

Follow+Star Public Account Number, don’t miss out on exciting content Source | Big Orange Crazy Embedded In software development, every change in requirements generally necessitates rewriting code. After code changes, functional testing is required, and of course, unit testing must be performed before functional testing to avoid unverified scenarios after code modifications, which can lead … Read more

Understanding Data-Driven and Keyword-Driven Approaches in Automation Testing

Understanding Data-Driven and Keyword-Driven Approaches in Automation Testing

Pinch face to ask for attention~ Quick, follow this public account Let’s learn together Tips: “When learning testing, choose an institution, and it’s important to have a trial class!” Click the end of the article “Read the original” for more information! When first encountering automation testing, I didn’t fully understand data-driven and keyword-driven approaches, thinking … Read more

CLion Unit Testing Tutorial

CLion Unit Testing Tutorial

This tutorial provides an overview of unit testing methods and discusses the four testing frameworks supported by CLion: Google Test, Boost.Test, Catch2, and Doctest. Unit Testing Basics Unit tests are designed to check individual units of source code separately. Here, a "unit" refers to the smallest part of code that can be tested independently, such … Read more