48 lines
1.8 KiB
Markdown
Raw Normal View History

2018-10-31 13:07:43 +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. <br />
- Build the local Docker images in the directory with the Thingsboard's main [pom.xml](./../../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-lwm2m-transport
2018-10-31 13:07:43 +02:00
thingsboard/tb-http-transport
thingsboard/tb-mqtt-transport
2021-05-28 12:15:55 +03:00
thingsboard/tb-snmp-transport
2018-10-31 13:07:43 +02:00
thingsboard/tb-node
thingsboard/tb-web-ui
thingsboard/tb-js-executor
- Run the black box tests in the [msa/black-box-tests](../black-box-tests) directory with Redis standalone:
2018-10-31 13:07:43 +02:00
2018-11-01 18:02:09 +02:00
mvn clean install -DblackBoxTests.skip=false
- Run the black box tests in the [msa/black-box-tests](../black-box-tests) directory with Redis cluster:
mvn clean install -DblackBoxTests.skip=false -DblackBoxTests.redisCluster=true
- Run the black box tests in the [msa/black-box-tests](../black-box-tests) directory in Hybrid mode (postgres + cassandra):
mvn clean install -DblackBoxTests.skip=false -DblackBoxTests.hybridMode=true
2022-11-22 18:12:19 +02:00
- To run the black box tests with using local env run tests in the [msa/black-box-tests](../black-box-tests) directory with runLocal property:
mvn clean install -DblackBoxTests.skip=false -DrunLocal=true
2022-11-29 16:12:12 +02:00
- To run ui smoke tests in the [msa/black-box-tests](../black-box-tests) directory specifying suite name:
2022-11-22 18:12:19 +02:00
mvn clean install -DblackBoxTests.skip=false -Dsuite=uiTests
2022-11-29 16:12:12 +02:00
- To run all tests in the [msa/black-box-tests](../black-box-tests) directory specifying suite name:
mvn clean install -DblackBoxTests.skip=false -Dsuite=all
2022-11-22 18:12:19 +02:00
2018-11-01 18:02:09 +02:00