From b4786a3fe3d4695804bfde83be4f44e771814f8c Mon Sep 17 00:00:00 2001 From: IWASE Yusuke Date: Tue, 13 Jun 2017 16:24:32 +0900 Subject: [PATCH] CONTRIBUTING: Update procedure for running tests Signed-off-by: IWASE Yusuke Signed-off-by: FUJITA Tomonori --- CONTRIBUTING.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 2fc9493b..93e1890f 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -22,9 +22,15 @@ style. Please check your changes with pep8 and run unittests to make sure that they don't break the existing features. The following command -does both for you: +does both for you. -fujita@rose:~/git/ryu$ ./run_tests.sh +.. code-block:: bash + + # Install dependencies of tests + $ pip install -r tools/test-requires + + # Execute unit tests and pep8 + $ ./run_tests.sh Of course, you are encouraged to add unittests when you add new features (it's not a must though).