Fundamentals 17 min read

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.

Meituan Technology Team
Meituan Technology Team
Meituan Technology Team
Ruby-Based Automation Testing Frameworks: Coral-API and Coral-APP

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.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

UI automationTest AutomationRubyAPI testingRailsCoral-APICoral-APP
Meituan Technology Team
Written by

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.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.