Skip to content

Go SDK Unit Testing

This article introduces how to use Go SDK for unit testing.

After modifying the unit test code, you can directly test the interface return results.

Unit Test Code Location

Code Repository

Unit Test Code Location

Execution Steps

  1. Download the code repository

  2. Replace the application's accessKey and accessSecret

  3. Replace the application's unique identifier

  4. Execute TestGetUrlUpgrade and TestGetFileUpgrade methods

  5. View the test results

toolsetlink@163.com