thingsboard/msa/black-box-tests
ShvaykaD 9fef6b02a3
[3.2] Feature/Proto Converter (#3423)
* device post-telemetry & post-attributes & claim

* device rpc to/from server & attributes request, attributes updates

* refactoring & added implementation for gateway protos api

* added timeseries/attributes mqtt tests

* fix MqttTimseriesIntegrationTest values asserts

* mqtt attributes tests improvements

* optimized time for telemetry & attributes tests

* update proto files, refactoring converter, attribute requests tests

* added claim tests, attribute request test

* added deleted keys to gateway response on attributes request & refactored tests

* added attribute updates test & refactored attribute requests tests

* added attribute updates tests for gateways

* added tests for RPC

* fix tests & cleanup code

* fix typo & cleanup transport.proto file

* added more timeouts

* revert handleGetAttributesRequest method

* revert package-locks

* fix getJsonObjectForGateway method

* fix validateSharedResponseGateway method in AbstractMqttAttributesRequestIntegrationTest

* fix mqtt topics

* fix license headers

* refactor tests

* remove todo and lck files from pull

* improvements for claiming tests

* update device creation logic from gateway request

* refactoring

* extract TransportService process calls to private methods

* fix duplicates & removed empty lines
2020-10-02 11:31:27 +03:00
..
2020-08-17 18:11:43 +03:00
2018-11-01 18:02:09 +02:00

Black box tests execution

To run the black box tests with using Docker, the local Docker images of Thingsboard's microservices should be built.

  • Build the local Docker images in the directory with the Thingsboard's main pom.xml:

      mvn clean install -Ddockerfile.skip=false
    
  • Verify that the new local images were built:

      docker image ls
    

As result, in REPOSITORY column, next images should be present:

    thingsboard/tb-coap-transport
    thingsboard/tb-http-transport
    thingsboard/tb-mqtt-transport
    thingsboard/tb-node
    thingsboard/tb-web-ui
    thingsboard/tb-js-executor
  • Run the black box tests in the msa/black-box-tests directory:

      mvn clean install -DblackBoxTests.skip=false