README: Fix how to run test, and added about doctest
@@ -107,7 +107,7 @@ python setup.py develop
Run all tests as:
```
-python -m unittest discover test "test_*.py"
+nosetests --processes=4 --process-timeout=10000 --stop -a '!slow'
```
Run a specific test file, or a specific test method respectively:
@@ -117,6 +117,12 @@ python -m unittest tests/cupy_tests/cuda_tests/test_memory.py
python -m unittest tests.cupy_tests.cuda_tests.test_memory.TestMemoryPointer.test_int
```
+Run doctest as:
+
+```
+( cd docs && make doctest )
+```
+
### Rebuild pxd files
Currently, we have problems that cython does not rebuild pxd files well with `python setup.py develop`.
