Generating REST API Tests With Descriptive Names

Philip Garrett, Juan P. Galeotti, Andrea Arcuri, Alexander Poth, Olsi Rrjolli · 2025

Read Generating REST API Tests With Descriptive Names by Philip Garrett, Juan P. Galeotti, Andrea Arcuri, Alexander Poth, Olsi Rrjolli (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2512-01690.txt.

Description

Philip Garrett and co-authors give auto-generated API tests descriptive names. Auto tests guard software quality in API-based systems. Their names are often bare labels like test0. Bare names slow reading and upkeep a lot. A tester cannot tell what a test checks from its name.

The team generates names that state the test's intent. Clear names speed failure triage and code review. They also help new staff trust and keep auto tests. The work targets REST APIs, where test suites can grow to thousands of cases. Name quality is scored by human raters as well, since a name can be technically apt yet still confuse the staff who read it.

Catalog record

CREATORPhilip Garrett, Juan P. Galeotti, Andrea Arcuri, Alexander Poth, Olsi Rrjolli
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE63 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2512-01690

Browse the full library · About the Tower of Babel