Invariant-Driven Automated Testing
Ana Catarina Ribeiro

TL;DR
This paper introduces APOSTL, a logic-based API annotation language, and PETIT, a tool that automates microservice testing using annotated OpenAPI specifications, addressing current testing gaps in microservice architectures.
Contribution
It extends API specifications with logic-based annotations for testing and develops an automated testing tool that works without source code access.
Findings
APOSTL effectively annotates APIs for testing purposes.
PETIT automates microservice testing using annotated specifications.
The approach improves testing automation in microservice architectures.
Abstract
Microservice architectures are an emergent technology that builds business logic into a suite of small services. Each microservice runs in its process and the communication is made through lightweight mechanisms, usually HTTP resource API. These architectures are built upon independently deployable and, supposedly, reliable pieces of software that may, or may not, have been developed by the team using it. Nowadays, industries are dangerously migrating into microservice architectures without an effective and automatic process for testing the software being used. Furthermore, current API specification languages are not expressive enough to be used for testing purposes. To solve this problem it is necessary to extend currently broadly used API specification languages. APOSTL is a specification language to annotate APIs specifications based on first-order logic, with some restrictions. It…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware System Performance and Reliability · Software Testing and Debugging Techniques · Software Engineering Techniques and Practices
