iot-sdks-e2e-fx/test-runner
Bert Kleewein e4b80c6e72
fix test exceptions by adding try/catch around json parsing (#382)
2023-01-17 17:00:50 -08:00
..
adapters fix test exceptions by adding try/catch around json parsing (#382) 2023-01-17 17:00:50 -08:00
README.md Copy code from previous repo 2019-01-24 14:36:55 -08:00
__init__.py refactor to enable test adapters 2019-01-27 19:27:14 -08:00
base_client_tests.py Clean up fixtures to prep for regression tests (#219) 2020-01-24 10:36:04 -08:00
blob_upload_tests.py fix: Added support for manual connects to support Python V3 (#371) 2022-11-03 14:49:35 -07:00
c2d_tests.py remove python_inproc experiment (#375) 2022-11-13 05:28:54 -08:00
conftest.py remove python_inproc experiment (#375) 2022-11-13 05:28:54 -08:00
connections.py Remove old experimental code (#374) 2022-11-04 18:00:01 -07:00
drop_scenario.py Use Python handlers (#359) 2022-09-03 14:30:20 -07:00
dropped_connection_tests.py Remove unnecessary tests (#377) 2022-11-13 07:56:13 -08:00
dump_object.py feature: create longhaul control device on demand (#311) 2020-08-02 17:24:18 -07:00
edgehub_control.py Clean up fixtures to prep for regression tests (#219) 2020-01-24 10:36:04 -08:00
exc_thread.py feature: preliminary longhaul tests (#290) 2020-06-25 13:19:41 -07:00
fixtures.py Remove old experimental code (#374) 2022-11-04 18:00:01 -07:00
hooks.py Update csharp wrappers to use netcoreapp3.0 (#336) 2022-02-11 13:22:47 -08:00
horton_logging.py remove python_inproc experiment (#375) 2022-11-13 05:28:54 -08:00
input_output_tests.py More additional manual connect to support Python V3 (#373) 2022-11-04 11:13:31 -07:00
limitations.py fix: Added support for manual connects to support Python V3 (#371) 2022-11-03 14:49:35 -07:00
measurement.py chore: cleanup old perf tests (#312) 2020-08-03 10:56:20 -07:00
method_tests.py Additional manual connect to support Python V3 (#372) 2022-11-04 10:11:47 -07:00
pytest.ini Remove old experimental code (#374) 2022-11-04 18:00:01 -07:00
regression_tests.py Remove unnecessary tests (#377) 2022-11-13 07:56:13 -08:00
runtime_capabilities.py Remove old experimental code (#374) 2022-11-04 18:00:01 -07:00
sample_content.py Clean up fixtures to prep for regression tests (#219) 2020-01-24 10:36:04 -08:00
scenarios.py Remove old experimental code (#374) 2022-11-04 18:00:01 -07:00
telemetry_tests.py fix: Added support for manual connects to support Python V3 (#371) 2022-11-03 14:49:35 -07:00
test_edgehub_leaf_device.py Refactors that support decoupling Horton from IoTEdge (#155) 2019-11-07 14:35:22 -08:00
test_edgehub_module.py feature: update longhaul scripts, refactor client fixtures, add attribute lock to dictionary_object (#297) 2020-07-02 10:20:21 -07:00
test_iothub_device.py feature: basic blob upload tests (#263) 2020-04-20 22:46:31 -07:00
test_iothub_module.py feature: update longhaul scripts, refactor client fixtures, add attribute lock to dictionary_object (#297) 2020-07-02 10:20:21 -07:00
test_network_disconenct_mechanism.py feature: prepare for fetching system and wrapper stats for longhaul (#300) 2020-07-14 13:34:27 -07:00
timeouts.py add/reorganize dropped connection tests (#159) 2019-11-09 13:09:59 -08:00
twin_tests.py Remove unnecessary tests (#377) 2022-11-13 07:56:13 -08:00
utilities.py feature: another blob test, make amqp code async (#264) 2020-04-21 11:47:00 -07:00

README.md

readme for e2e test runner

Environment

When running the scripts in this folder, you need to set the following environment variables:

  • IOTHUB_E2E_CONNECTION_STRING: Connection string of the iothub that contains your edgehub instance. This is something you have to create and set manually

Additionally, you temporarily need these variables to get to the container repository. These are available in our developer keyvault

  • IOTHUB_E2E_REPO_ADDRESS: Address of the docker container repository that hosts container images.
  • IOTHUB_E2E_REPO_USER: User name for the docker container repository that hosts container images
  • IOTHUB_E2E_REPO_PASSWORD: Password for the docker container repository that hosts container images

The following variables can be used to customize your edge containers. Suggested values are also in our keyvault

  • IOTHUB_E2E_EDGE_PRIVATE_REGISTRY: JSON for extra container registry credentials
  • IOTHUB_E2E_EDGE_PRIVATE_AGENTIMAGE: image name to use for overriding default edgeAgent image
  • IOTHUB_E2E_EDGE_PRIVATE_HUBIMAGE: image name to use for overriding default edgeHub image

If you are running the tests remotely (outside of your IotEdge device), you will also need to set the following variables:

  • IOTHUB_E2E_EDGEHUB_DNS_NAME: The DNS name or IP address of the VM that's hosting the edgehub executable. This is the network name or IP address of the VM that's running the edgeHub service
  • IOTHUB_E2E_EDGEHUB_DEVICE_ID: Device ID of your edgehub instance.
  • IOTHUB_E2E_EDGEHUB_CA_CERT: CA certificate for your edgehub service, base64 encoded.

If you want to make an easy copy of these variables for running remotely, you can run scripts/get-environment.sh windows