Tagged articles
TestNG
20 articles · Page 1 of 1
This article explains the core concepts of the Mockito framework, compares it with other Java unit‑testing tools, demonstrates practical code examples, and breaks down the internal workings of annotations like @InjectMocks, @Mock, @RunWith, as well as the Mockito.when() and Mockito.verify() mechanisms.
AnnotationsJUnitMocking
0 likes · 22 min read

This article explains how parallel testing with Selenium improves test efficiency, coverage, and cost-effectiveness, outlines the advantages of using TestNG and Selenium Grid, and provides practical guidance for implementing parallel tests in various project scenarios and CI/CD pipelines.
CI/CDParallel TestingTestNG
0 likes · 14 min read

This article explains unit testing concepts, outlines the differences between TestNG and JUnit—including test suite configuration, annotations, grouping, parameterization, dependency handling, exception and timeout testing—and provides code examples to help developers choose the most suitable Java testing framework.
AnnotationsJUnitJava
0 likes · 11 min read


转转QAMar 10, 2022 · Backend Development
The article describes a solution that automatically triggers interface test cases after a service deployment by listening to deployment‑success MQ messages, dynamically invoking TestNG with service‑specific IPs, and integrating Spring bean registration to simplify test code while handling dynamic nodes, reporting, and common pitfalls.
BeanFactoryJavaMQ
0 likes · 11 min read

This article surveys the popularity of Java, outlines the benefits of using Java testing frameworks, and provides detailed overviews of nine leading frameworks—including JUnit, JBehave, Serenity, Selenium, TestNG, Mockito, HTTPUnit, Gauge, and Geb—highlighting their core features and suitability for different testing needs.
FrameworksJUnitJava
0 likes · 18 min read

This article explains unit testing concepts, introduces TestNG and PowerMock frameworks for Spring Boot, details common annotations, provides Maven dependency snippets and comprehensive Java test examples, and demonstrates advanced mocking techniques, parameterized tests, and assertion strategies to improve code reliability and coverage.
JavaMockingPowerMock
0 likes · 14 min read

This guide explains how to replace TestNG's default report with a custom BeautifulReport template in a Java Maven project, covering Maven dependency configuration, creating a TestReportListener, updating testng.xml, adding an HTML template, and viewing the generated report with detailed test results.
API TestingBeautifulReportHTML report
0 likes · 95 min read

This guide demonstrates how to use TestNG for exception validation, method dependencies, XML and DataProvider parameterization, multithreaded execution via annotations and XML suites, and timeout enforcement, providing complete Java code examples for each feature.
JavaMultithreadingTestNG
0 likes · 9 min read

This article introduces TestNG, an open‑source Java testing framework, outlines its key features and annotations, demonstrates how to set it up in Maven, and provides detailed code examples for basic annotations, suite configuration, test grouping, and disabling tests.
AnnotationsJavaMaven
0 likes · 9 min read

The article describes a full‑field automation framework for Dubbo services that validates both read and write interfaces by routing identical requests to base and project environments, generating ignore‑field maps via object‑to‑map conversion, and orchestrating multi‑round TestNG executions to achieve exhaustive field verification while dramatically improving test‑case authoring efficiency.
Backend testingDubboTestNG
0 likes · 12 min read

This article explains the G7 IoT platform's comprehensive automated testing framework, covering use‑case design, full‑link coverage, data validation strategies, keyword encapsulation, and thread‑group isolation to achieve high‑quality, rapid releases for complex IoT systems.
Backend testingContinuous IntegrationG7 platform
0 likes · 9 min read

This article explains how to design and implement a mock plugin for Dubbo-based services, enabling stable CI integration, multi‑service mocking, per‑test case responses, custom annotations, and service‑chain routing, with detailed code examples and deployment steps.
CIDubboJava
0 likes · 19 min read

This article explains how a hotel finance team tackled multi‑source, high‑volume reconciliation challenges by creating a Java‑based, data‑driven automated testing platform using Maven, TestNG, and Apache POI, improving efficiency, accuracy, and maintainability while outlining the framework architecture and future enhancements.
Apache POIBackend testingJava
0 likes · 8 min read

This article details how to build an automated testing framework for algorithm interfaces with TestNG, Maven, Allure Report, Excel data-driven inputs, and Jenkins integration, covering project setup, plugin configuration, test execution, and report generation to streamline repetitive testing tasks.
AllureReportAutomationTestingExcel
0 likes · 4 min read


转转QAJul 18, 2018 · Operations
The article discusses how embracing speed and flexible configuration in QA, exemplified by the Beetle platform’s interface testing workflow, can improve project efficiency, enable unified automated testing, and integrate continuous integration, while emphasizing that tools alone cannot guarantee test quality.
Continuous IntegrationOperationsTest Automation
0 likes · 9 min read


ITPUBJul 13, 2018 · Backend Development
This article explains why microservice architectures demand specialized automated testing, compares testing styles such as unit, contract, and end‑to‑end, and walks through a practical Java‑based framework built on Spring, TestNG and Dubbo, including setup steps and code examples.
DubboJavaSpring
0 likes · 14 min read

This article shares practical techniques for writing and maintaining large numbers of automated API test cases in a Java Spring/Dubbo environment, covering faster execution by limiting service initialization, a three‑step test structure, data‑provider and factory optimizations, resource cleanup strategies, and stability improvements for CI pipelines.
CIDubboJava
0 likes · 13 min read

The Lego platform is an internal, data‑driven API automation framework built with Jenkins, TestNG, ReportNG, a Java base library, and a MySQL‑backed web UI that lets users create, schedule, and run lightweight test scripts while minimizing development cost, maintenance effort, and maximizing reporting and extensibility.
API TestingDevOpsJava
0 likes · 28 min read

This article introduces Ctrip Automation Platform (CAP), detailing its architecture, Java‑based implementation with TestNG, Appium, AngularJS, Jenkins, and Maven, the workflow for creating projects and running mobile, UI, and API tests, recent usage statistics, and planned reporting improvements.
AppiumAutomation TestingCI/CD
0 likes · 5 min read

This article introduces Vipshop’s VTP (VIP Test Platform), detailing its architecture, fine‑grained TestNG support, integration with Jenkins, CI and QAMP, and the platform’s features for scheduling, reporting, and future scalability in a rapidly growing e‑commerce environment.
CI/CDDevOpsJenkins
0 likes · 5 min read
