Home / Companies / APIMATIC / Blog / Post Details
Content Deep Dive

Testing Auto-Generated SDKs — Problems, Techniques and Goals

Blog post from APIMATIC

Post Details
Company
Date Published
Author
APIMatic
Word Count
1,027
Language
English
Hacker News Points
-
Summary

In order to ensure the correctness of automatically generated code, APIMatic has been working on unit testing and automation. Initially, they relied on manual testing with a comprehensive API description and a test API, but this approach became tedious and unsustainable. They have since adopted an automated testing framework using Jenkins CI, which generates language-specific unit tests for their SDKs. While there are limitations to this approach, APIMatic aims to further improve their testing capabilities by introducing a mock API testing framework that will enable 100% test coverage for each generated SDK, ensuring that any SDK delivered to customers works correctly.