Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 902 Bytes

File metadata and controls

31 lines (20 loc) · 902 Bytes

Testing

This project has automated unit testing and testing integrated with real THETA devices.

Unit Test

To run a unit test, just run the test task.

$ ./gradlew test

Integration Test

Integration tests requires a connection to the THETA. You have to establish connection manually before the test.

Integration tests are implemented for each models, such as V and Z1.

  1. Connect to the THETA in AP mode.
  2. Run the integration test task of the model connected.
    • For example: ./gradlew integrationTestV

The check task does not depend on the integrationTest tasks. Therefore, you need to run each test manually.

The following command shows a list of integration test tasks.

$ ./gradlew tasks --group verification | grep integrationTest
integrationTestV - Runs the integration tests for THETA V
integrationTestZ1 - Runs the integration tests for THETA Z1