From 48e28eff9be419ee3aedc844d34aeb10c2b9ca37 Mon Sep 17 00:00:00 2001 From: timifasubaa <30888507+timifasubaa@users.noreply.github.com> Date: Thu, 12 Oct 2017 20:53:37 -0700 Subject: [PATCH] Add description for running specific test (#3665) --- CONTRIBUTING.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 71c895151..3335c807f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -262,9 +262,15 @@ Before running python unit tests, please setup local testing environment: pip install -r dev-reqs.txt ``` -Python tests can be run with: +All python tests can be run with: ./run_tests.sh + +Alternatively, you can run a specific test with: + + ./run_specific_test.sh tests.core_tests:CoreTests.test_function_name + +Note that before running specific tests, you have to both setup the local testing environment and run all tests. We use [Mocha](https://mochajs.org/), [Chai](http://chaijs.com/) and [Enzyme](http://airbnb.io/enzyme/) to test Javascript. Tests can be run with: