[SciPy-Dev] Running Tests

Paul Hobson pmhobson at gmail.com
Thu Mar 9 12:34:09 EST 2017


Ashwin,

I typically do:

<testrunner> path/to/my/test_file.py:test_my_function

where <testrunner> is nosetests or pytest or whatever.

You can read more about that here:
http://stackoverflow.com/questions/3704473/how-do-i-run-a-single-test-with-nose-in-pylons

On Thu, Mar 9, 2017 at 9:29 AM, ashwin.pathak <
ashwin.pathak at students.iiit.ac.in> wrote:

> Hello all,
>    I was learning about nose and test suites, I am not able to figure out
> how to run test for particular functions that I changed. Can someone help
> me know the procedure as to how to run tests for individual functions.
> Thank you
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev at scipy.org
> https://mail.scipy.org/mailman/listinfo/scipy-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20170309/3cdede5e/attachment.html>


More information about the SciPy-Dev mailing list