Merge "scons changes for connectivity-abstraction branch" into connectivity-abstraction
[platform/upstream/iotivity.git] / resource / unittests / README
1 tests.cpp contains unittests for C++ APIs. It uses Google Test for the unit
2 tests.  Note that the unit tests are only to test the functionality of OCApi.h.
3 It is not a system or end-to-end test.
4
5 Unit Test Requirements:
6
7 1. To run the unit test, first build the unit tests with the following command
8    from <oic-resource>:
9
10    make -f buildScript.mk linux_ub_unittests
11
12 2. Run the unit test by issuing the following command from <oic-resource>:
13
14    ./unittests/tests