Skip to content

Dart SDK Unit Testing

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

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

Unit Test Code Location

Code Repository

https://github.com/toolsetlink/upgradelink-api-dart

Unit Test Code Location

https://github.com/toolsetlink/upgradelink-api-dart/blob/main/test/upgrade_api_dart_test.dart

Execution Steps

  1. Download the code repository

  2. Replace the application's accessKey and accessSecret

  3. Replace the application's unique identifier

  4. Execute the upgrade_api_dart_test.dart test file

  5. View the test results

toolsetlink@163.com