Ruby-Based Automation Testing Frameworks: Coral-API and Coral-APP
Facing tight resources, Shanghai’s takeaway QA team adopted Ruby to craft two automation frameworks—Coral‑API for interface testing with a DSL, code generation and extensibility, and Coral‑APP for UI testing using Appium and Cucumber—while also building a Rails‑based quality management system that cut regression time by over half, trained new Ruby users, and uncovered version‑specific bugs through CI integration.
The article describes how the Shanghai takeaway QA team adopted Ruby to build automation testing frameworks under resource constraints.
It explains the choice of Ruby for its efficiency, human-friendly syntax, metaprogramming capabilities, and sufficient community resources for testing.
The team created Coral-API, an interface automation framework that separates test data handling, provides low learning cost via DSL and code generation, and supports extension for Java platforms, HTTP/RPC interfaces, and custom matchers.
Coral-APP is presented as a UI automation framework combining Appium and Cucumber, with object libraries stored in CSV, step definitions, and support for hybrid app context switching.
Additionally, the team built a quality management system using Rails to automate defect tracking, test reporting, and data visualization.
Results include reduced regression time by over 50%, successful training of new Ruby users, and discovery of version-specific bugs through CI integration.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Meituan Technology Team
Over 10,000 engineers powering China’s leading lifestyle services e‑commerce platform. Supporting hundreds of millions of consumers, millions of merchants across 2,000+ industries. This is the public channel for the tech teams behind Meituan, Dianping, Meituan Waimai, Meituan Select, and related services.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
