Refactor DMaaP simulator and add tests.
[integration/csit.git] / tests / dcaegen2 / testcases / resources / robot_library / README.md
1 # Robot Library
2 This catalog contains python files used in Robot tests for dcaegen2.ves.
3
4 # DMaaP Simulator
5 Catalog dmaap_simulator contains python implementation of DMaaP simulator. It uses python BaseHTTPServer to expose endpoints.
6
7 # DMaaP Tests
8 Catalog dmaap_test contains tests that are used to validate DMaaP simulator. Test are using "pytest" and "MagicMock". 
9
10 ### In order to run tests: 
11 1. create virtual environemnt with Python 2.7;
12 2. install requirements from file requirements.txt located in dmaap_test;
13 3. set environement variable WORKSPACE to point root csit catalog
14 4. run py.test command in catalog dmaap_test