cdb6216203 | ||
---|---|---|
DeviceSimulation | ||
Helper | ||
StorageAdapter | ||
docs | ||
scripts | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
LICENSE | ||
README.md | ||
device-simulation-tests.sln | ||
device-simulation-tests.sln.DotSettings |
README.md
Azure IoT Device Simulation Tests
This repository contains a set of functional tests periodically executed on Microsoft Azure IoT Device Simulation solution.
Dependencies
The integration tests solution depends on all the environment variables set on the machine. The list of variables are in env.list file
How to run the integration tests
Build and Run from the command line
The scripts folder contains scripts for many frequent tasks:
build
: compiles all the project and runs all the integration tests projects that are listed in build script file
Running the integration tests with Visual Studio
Prerequisite
All the containers need to be started before the tests can be run/debug in Visual Studio.
- navigate to the
scripts
folder <name-of-service>.sh start
: starts all the containers.<name-of-service>.sh stop
: stops all the containers.
Ex:
cd scripts
./devicesimulation.sh start
Build and run tests
Ctrl+Shift+B
: builds solutionRun All
: from theTest
menu selectWindows-->Test Explorer
. ClickRun All
to run all the tests