leverage tox to facilitate the development 69/29269/3
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Thu, 23 Feb 2017 07:14:12 +0000 (15:14 +0800)
committerAric Gardner <agardner@linuxfoundation.org>
Fri, 24 Feb 2017 21:56:48 +0000 (21:56 +0000)
commite50681fa31b03439949b0d74baa8f498687dc101
tree8efd820570520395cfcc04387c58990be36708af
parentd22a0be616fb01a3239fed87df9e7145381234a6
leverage tox to facilitate the development

Before submitting a patch, we need to execute flake8, unittest,
open coverage report, now with the help of tox any pytest,
we can process them all with only one command.

pytest is choosen here is because of its useful assert showcase,
and powerful properties and healthy ecosystem(plugins of mock etc)

Change-Id: I7ee89da370da08cc2bc70f7d3b1e2741d7d2e1e8
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
.gitignore
utils/test/testapi/.coveragerc [new file with mode: 0644]
utils/test/testapi/test-requirements.txt [new file with mode: 0644]
utils/test/testapi/tox.ini [new file with mode: 0644]