Integration tests for device simulation
Перейти к файлу
Harleen Thind cdb6216203
Fixing failing tests (#10)
2018-09-27 23:22:11 -07:00
DeviceSimulation Fixing failing tests (#10) 2018-09-27 23:22:11 -07:00
Helper Sai rm mq (#5) 2018-07-26 12:58:13 -07:00
StorageAdapter Mq tests (#8) 2018-09-06 11:32:20 -07:00
docs Init repository 2017-11-16 14:22:40 -08:00
scripts Mq tests (#8) 2018-09-06 11:32:20 -07:00
.gitattributes clean up PCS Service and Telemetry agent 2018-07-03 11:03:40 -07:00
.gitignore Init repository 2017-11-16 14:22:40 -08:00
.travis.yml Add scripts 2017-11-16 16:45:49 -08:00
LICENSE Init repository 2017-11-16 14:22:40 -08:00
README.md Minor updates 2018-07-03 11:46:15 -07:00
device-simulation-tests.sln Mq tests (#8) 2018-09-06 11:32:20 -07:00
device-simulation-tests.sln.DotSettings Updates for Device Simulation 2018-07-02 15:05:18 -07:00

README.md

Build Issues Gitter

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 solution
  • Run All: from the Test menu select Windows-->Test Explorer. Click Run All to run all the tests