[Numpy-discussion] Testing your contributions

Matti Picus matti.picus at gmail.com
Sat Mar 16 12:42:00 EDT 2019


On 16/3/19 9:59 am, Sandy wrote:
> Hey there,
>
> I am new to numpy. I just wanted to know, suppose I make a code
> contribution to the repo https://github.com/numpy/numpy how do I test
> its working?
> _______________________________________________


Welcome.

You should add a test.

Running `python runtest.py` will build and run all the tests, including 
your new one.

More information is available at 
www.numpy.org/devdocs/reference/testing.html

More information about a typical development workflow is at 
www.numpy.org/devdocs/dev/gitwash/development_workflow.html


Please pinpoint unclear documentation by opening an issue 
https://github.com/numpy/numpy/issues.


In general, you will get a more sympathetic response by trying something 
first and reporting what didn't work or what was unclear.


Matti



More information about the NumPy-Discussion mailing list