diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-02-23 15:14:12 +0800 |
---|---|---|
committer | Aric Gardner <agardner@linuxfoundation.org> | 2017-02-24 21:56:48 +0000 |
commit | e50681fa31b03439949b0d74baa8f498687dc101 (patch) | |
tree | 8efd820570520395cfcc04387c58990be36708af /utils/test/testapi/test-requirements.txt | |
parent | d22a0be616fb01a3239fed87df9e7145381234a6 (diff) |
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>
Diffstat (limited to 'utils/test/testapi/test-requirements.txt')
-rw-r--r-- | utils/test/testapi/test-requirements.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/utils/test/testapi/test-requirements.txt b/utils/test/testapi/test-requirements.txt new file mode 100644 index 000000000..89333199a --- /dev/null +++ b/utils/test/testapi/test-requirements.txt @@ -0,0 +1,10 @@ +# The order of packages is significant, because pip processes them in the order +# of appearance. Changing the order has an impact on the overall integration +# process, which may cause wedges in the gate later. + +tox +pytest +pytest-cov +coverage +pykwalify +pip_check_reqs |