Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 2372 by [email protected]: Wiki page on running/writing tests
http://code.google.com/p/sympy/issues/detail?id=2372
I didn't find any documentation on running and writing tests for sympy. It
would be nice to have a wiki page here at github (wiki/development/testing)
to make testing easier for newbies. I would be happy to write one, but i
would need some help with it or at least someone to review it.
I looked at the subject rather briefly and this is what i found out:
1. python setup.py test runs all the tests (regular tests + doctests). It
does not support any arguments and options. For more flexible testing you
have to use programs in bin, for example bin/test. Here you can specify the
name of the module you want to test. For even more flexibility you can go
to a specefic module's directory and run files in test subfolder.
2. sympy uses some custom testing framework that is documented in
sympy/utilities/runtests.py and is compatible with py.test
(http://doc.pytest.org/en/latest/).
Is this correct?
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.