Now you can define test cases for your endpoints using our online API Editor. At the time of SDK generation, in a particular language, the test cases are automatically generated for that language. Furthermore, we generate CI configuration files that build the SDKs and invoke test cases seamlessly.

Note   The currently supported languages for test cases generation are:

The test cases you define are also validated at the time of code generation. Some examples of where test validation may fail could be if your test case name is invalid (contains unaccepted characters or is too long, etc.), you may have entered invalid HTTP codes or the input parameter value may not be valid for the parameter type. In all such cases and many others, proper errors/ warnings are displayed to the user.

We will cover more details on this feature in the subsequent documentation. This will include:

  • An introduction to the languages that support this feature and the testing frameworks you can use to run the generated test cases
  • A detailed example to make you familiar with writing and generating test cases.
  • Test Generation Settings
  • FAQ related to this feature

Have questions? Submit a request.