Testing MMS
April 27, 2018 ยท View on GitHub
Pre-requisites
You will need some additional Python modules to run the unit tests, integration tests and linting.
pip install mock pytest pylint
You will also need the source for the project, so clone the project first.
git clone https://github.com/awslabs/mxnet-model-server.git
cd mxnet-model-server
Unit Tests
You can run the unit tests with the following:
python -m pytest mms/tests/unit_tests/
CI Tests
You can run the integration tests with the following:
python -m pytest mms/tests/integration_tests/
Lint test
You can run the lint tests with the following:
pylint -rn --rcfile=./mms/tests/pylintrc mms/.