Company
Date Published
Author
APIMatic
Word count
1027
Language
English
Hacker News points
None

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.