Tag

test coverage

0 views collected around this technical thread.

php中文网 Courses
php中文网 Courses
May 12, 2025 · Fundamentals

Python Unit Testing and Debugging Techniques: From unittest to pytest and CI Integration

This article explains why unit testing and debugging are essential in Python development, introduces the unittest and pytest frameworks, shows how to measure test coverage, demonstrates debugging methods like print statements, pdb, and IDE tools, and provides examples of integrating tests into CI pipelines.

CI/CDPythondebugging
0 likes · 10 min read
Python Unit Testing and Debugging Techniques: From unittest to pytest and CI Integration
Efficient Ops
Efficient Ops
Mar 23, 2025 · Operations

Why Using Unit Test Coverage as a Hard Gate Fails and What Actually Works

The article critiques the practice of enforcing unit‑test coverage as a strict quality gate, explains why both overall and incremental coverage thresholds can be gamed, and proposes showing incremental coverage in merge requests while improving overall coverage through broader engineering processes.

DevOpsquality gatesoftware engineering
0 likes · 4 min read
Why Using Unit Test Coverage as a Hard Gate Fails and What Actually Works
Test Development Learning Exchange
Test Development Learning Exchange
May 30, 2024 · Fundamentals

Guidelines for Determining Effective API Automation Test Coverage

The article outlines practical principles and recommended coverage percentages for functional, boundary, security, performance, regression, integration, data management, and maintainability aspects of API automation testing, explaining why each level of coverage is essential for quality and efficiency.

API testingAutomationPerformance Testing
0 likes · 7 min read
Guidelines for Determining Effective API Automation Test Coverage
Go Programming World
Go Programming World
May 10, 2024 · Backend Development

Comprehensive Guide to Writing Tests in Go: Unit, Benchmark, Example, and Fuzz Testing

This article provides a detailed tutorial on Go's testing framework, covering test classifications such as unit, benchmark, example, and fuzz tests, explaining naming conventions, file organization, test execution commands, parallel testing, coverage measurement, and how to integrate these practices into robust backend development workflows.

BenchmarkGoUnit Test
0 likes · 31 min read
Comprehensive Guide to Writing Tests in Go: Unit, Benchmark, Example, and Fuzz Testing
JD Tech
JD Tech
Mar 7, 2024 · Fundamentals

Why Test Coverage Gaps Occur and How to Improve Testing Coverage

The article analyzes why test scenarios often lack full coverage, identifying both subjective causes such as carelessness and insufficient knowledge, and objective factors like tight schedules and low‑fidelity test environments, then proposes pre‑, during‑, and post‑testing strategies to enhance coverage.

QAprocess improvementsoftware quality
0 likes · 10 min read
Why Test Coverage Gaps Occur and How to Improve Testing Coverage
37 Interactive Technology Team
37 Interactive Technology Team
Dec 29, 2023 · Frontend Development

Why Unit Testing is Needed and How to Write Front‑End Unit Tests with Jest

Unit testing prevents recurring bugs in large front‑end projects by forcing modular, testable code, and with Jest—especially for Vue—developers can quickly write, run, and enforce comprehensive tests covering props, methods, slots, Vuex, and coverage thresholds, while AI tools can scaffold boilerplate test files.

AutomationFrontendVue
0 likes · 14 min read
Why Unit Testing is Needed and How to Write Front‑End Unit Tests with Jest
IT Services Circle
IT Services Circle
Oct 26, 2023 · Fundamentals

Writing Unit Tests in Java: JUnit Basics, Test Implementation, and Report Generation

This article explains what unit testing is, why it’s essential, and provides a step‑by‑step guide for writing Java unit tests with JUnit, integrating them into Maven projects, and generating detailed coverage reports using IDE features and JaCoCo.

JaCoCoJavaJunit
0 likes · 16 min read
Writing Unit Tests in Java: JUnit Basics, Test Implementation, and Report Generation
Test Development Learning Exchange
Test Development Learning Exchange
Oct 11, 2023 · Fundamentals

Why Software Test Engineers Should Not Use Defect Data Alone as KPI and Suggested Multi‑Dimensional Performance Metrics

Relying solely on defect counts as a KPI fails to reflect a software test engineer’s true performance, so a multi‑dimensional evaluation—including test coverage, defect severity, automation, efficiency, problem‑solving, and teamwork—provides a more objective, comprehensive and fair assessment.

KPIPerformance Metricsquality assurance
0 likes · 7 min read
Why Software Test Engineers Should Not Use Defect Data Alone as KPI and Suggested Multi‑Dimensional Performance Metrics
360 Quality & Efficiency
360 Quality & Efficiency
Aug 18, 2023 · Fundamentals

Understanding Mutation Testing with PITest: Concepts, Workflow, and Mutation Types

This article explains mutation testing, its role in assessing test case quality, introduces the Java tool PITest, outlines a step‑by‑step workflow, presents mutation coverage results, and describes common mutation operators such as condition boundary, negated conditionals, and increments.

JavaMutation TestingPITest
0 likes · 5 min read
Understanding Mutation Testing with PITest: Concepts, Workflow, and Mutation Types
High Availability Architecture
High Availability Architecture
Jun 26, 2023 · Backend Development

Design and Implementation of an Automated Backend Interface Testing System

This article presents a comprehensive backend automated testing framework that unifies HTTP and RPC access, introduces a parameter‑pool concept, leverages JSON Schema and JSONPath for validation, and outlines coverage metrics, test case generation, discovery, and continuous improvement to achieve near‑100% API test coverage.

API testingJSON SchemaJsonPath
0 likes · 21 min read
Design and Implementation of an Automated Backend Interface Testing System
Tencent Cloud Developer
Tencent Cloud Developer
Jun 19, 2023 · Backend Development

Design and Implementation of an Automated Backend Interface Testing System

The article presents a language‑agnostic, low‑maintenance automated backend interface testing system that unifies HTTP and RPC calls, uses a parameter pool, JSON Schema and JSONPath for assertions, generates test cases from live traffic, measures coverage, and continuously updates suites to achieve near‑full coverage.

JSON SchemaJsonPathMQ scheduling
0 likes · 22 min read
Design and Implementation of an Automated Backend Interface Testing System
NetEase LeiHuo Testing Center
NetEase LeiHuo Testing Center
Apr 21, 2023 · Game Development

Improving Automated Test Coverage for MMORPG Functional Modules: Classification, Strategies, and Framework Optimization

This article analyzes the challenges of automating test coverage for a large‑scale MMORPG by classifying representative functional modules, outlining targeted testing strategies for different module characteristics, and proposing framework and script‑library optimizations to efficiently increase coverage and maintainability.

Game DevelopmentMMORPGautomated testing
0 likes · 10 min read
Improving Automated Test Coverage for MMORPG Functional Modules: Classification, Strategies, and Framework Optimization
vivo Internet Technology
vivo Internet Technology
Aug 24, 2022 · Fundamentals

Using JaCoCo for Test Coverage in Vivo's Internal Development Platform

The Vivo Internet Server Team describes how they integrated JaCoCo into their internal CI/CD platform to measure Java test coverage, explaining JaCoCo’s probe‑based instrumentation, the need for consistent compilation, handling incremental code and class‑ID changes, and showing that the resulting coverage data improves testing quality despite added effort.

CI/CDCode InstrumentationJaCoCo
0 likes · 13 min read
Using JaCoCo for Test Coverage in Vivo's Internal Development Platform
FunTester
FunTester
Dec 14, 2021 · Fundamentals

Challenges and Solutions for Unit Test Coverage in Spring Boot: Mocking Static Methods with Spock, Mockito, and PowerMock

The author describes encountering quality‑assurance challenges in Spring Boot, revisiting unit‑testing frameworks like Spock, Mockito, and PowerMock, struggling with static‑method mocking, and ultimately adopting a "reset and rebuild" strategy to resolve dependency conflicts and improve test coverage.

MockingMockitoPowerMock
0 likes · 5 min read
Challenges and Solutions for Unit Test Coverage in Spring Boot: Mocking Static Methods with Spock, Mockito, and PowerMock
DevOps
DevOps
Aug 23, 2021 · Fundamentals

Precise Testing: Concepts, Principles, Architecture, and Challenges

The article explains precise testing—a data‑driven approach that maps test cases to source code changes to improve test efficiency, coverage measurement, and impact analysis—while discussing its architecture, implementation methods, benefits, and the practical challenges of adopting it in agile projects.

agile testingimpact analysisprecise testing
0 likes · 9 min read
Precise Testing: Concepts, Principles, Architecture, and Challenges
DevOps
DevOps
May 13, 2021 · Fundamentals

Effective Interface Testing: Principles, Layers, and Practical Tips

This article explains why comprehensive interface testing is essential for software quality, outlines testing layers such as unit, module, and entry (interface) testing, details core testing principles and best‑practice guidelines, and provides practical advice on test code structure, efficiency, framework selection, and coverage to ensure reliable, maintainable systems.

AutomationMockinginterface testing
0 likes · 9 min read
Effective Interface Testing: Principles, Layers, and Practical Tips
Continuous Delivery 2.0
Continuous Delivery 2.0
Feb 28, 2021 · Fundamentals

Google Test Certified: History, Levels, Benefits, and Retirement

Google’s Test Certified program, launched in 2006 to promote testing culture through a five‑level certification system, registered over 1,700 projects, helped teams improve test coverage and reduce bugs, and was retired in 2016 in favor of the dynamic Project Health standard.

Googlesoftware testingtest certification
0 likes · 8 min read
Google Test Certified: History, Levels, Benefits, and Retirement
FunTester
FunTester
Sep 11, 2020 · Fundamentals

Understanding Test Coverage: Techniques, Metrics, and Improvement Strategies

This article explains the concept of test coverage, describes various coverage techniques such as statement, branch, path, condition, and boundary-value coverage, outlines key metrics, provides a practical coverage matrix example, and offers actionable tips for improving overall software testing quality.

Metricsquality assurancesoftware testing
0 likes · 14 min read
Understanding Test Coverage: Techniques, Metrics, and Improvement Strategies
Tencent Music Tech Team
Tencent Music Tech Team
Jun 12, 2020 · Frontend Development

Using Jest for Front-End Unit Testing and Coverage

The article explains how to set up Jest for front‑end unit testing, demonstrates basic test writing, async handling, hooks, snapshot and React component testing, shows coverage configuration and thresholds, compares Jest’s built‑in features to Mocha’s limitations, and offers tips on concurrency, mocking, and test‑driven development.

FrontendJavaScriptMocking
0 likes · 21 min read
Using Jest for Front-End Unit Testing and Coverage
Youzan Coder
Youzan Coder
Mar 20, 2020 · Backend Development

Exploring Go Unit Test Coverage, Static Analysis, and Incremental Coverage Integration

The article details how a Go middleware QA team generates unit‑test coverage with go test and gocov, runs static analysis via golangci‑lint, integrates results into SonarQube, captures integration‑test coverage in Kubernetes, and applies diff‑cover for incremental coverage checks, all visualized through Jenkins.

CI/CDGoKubernetes
0 likes · 16 min read
Exploring Go Unit Test Coverage, Static Analysis, and Incremental Coverage Integration