Hi,
I wanted to have this for a long time. With my two most recent patches
(please review, together with my previous patches!) you can now do:
$ bin/test sympy/core/
============================= test process starts ==============================
py.test like reporting.
sympy/core/tests/test_arit.py[41] .....ff.................................. [OK]
sympy/core/tests/test_assumptions.py[27] ......f.................... [OK]
sympy/core/tests/test_basic.py[38] ...................................... [OK]
sympy/core/tests/test_complex.py[10] .......... [OK]
sympy/core/tests/test_count_ops.py[1] . [OK]
sympy/core/tests/test_diff.py[4] .... [OK]
sympy/core/tests/test_equal.py[4] .... [OK]
sympy/core/tests/test_eval.py[8] .......f [OK]
sympy/core/tests/test_eval_power.py[8] ........ [OK]
sympy/core/tests/test_evalf.py[19] ................... [OK]
sympy/core/tests/test_facts.py[11] ........... [OK]
sympy/core/tests/test_functions.py[25] ............f.f.......... [OK]
sympy/core/tests/test_logic.py[10] .......... [OK]
sympy/core/tests/test_match.py[26] ......f..Ignoring redefinition of
f: f defined earlier than f
...Ignoring redefinition of n: n defined earlier than n
Ignoring redefinition of l: l defined earlier than l
.............. [OK]
sympy/core/tests/test_multidimensional.py[4] .... [OK]
sympy/core/tests/test_numbers.py[27] F.......................... [FAIL]
sympy/core/tests/test_relational.py[4] .... [OK]
sympy/core/tests/test_subs.py[18] .................. [OK]
sympy/core/tests/test_symbol.py[4] .... [OK]
sympy/core/tests/test_sympify.py[18] .................. [OK]
sympy/core/tests/test_truediv.py[3] ... [OK]
sympy/core/tests/test_var.py[3] ... [OK]
________________________________________________________________________________
__________________ sympy/core/tests/test_numbers.py:test_igcd __________________
File "/home/ondra/repos/sympy/sympy/core/tests/test_numbers.py",
line 12, in test_igcd
assert igcd(1, 0) == 8
AssertionError
======= tests finished: 305 passed, 1 failed, 7 xfailed in 1.45 seconds ========
DO *NOT* COMMIT!
In the terminal, it is nicely aligned to the right and [OK] is green,
[FAIL] is red. You can turn it off using:
$ bin/test sympy/core/ --no-colors
============================= test process starts ==============================
py.test like reporting.
sympy/core/tests/test_arit.py[41] .....ff..................................
sympy/core/tests/test_assumptions.py[27] ......f....................
sympy/core/tests/test_basic.py[38] ......................................
sympy/core/tests/test_complex.py[10] ..........
sympy/core/tests/test_count_ops.py[1] .
sympy/core/tests/test_diff.py[4] ....
sympy/core/tests/test_equal.py[4] ....
sympy/core/tests/test_eval.py[8] .......f
sympy/core/tests/test_eval_power.py[8] ........
sympy/core/tests/test_evalf.py[19] ...................
sympy/core/tests/test_facts.py[11] ...........
sympy/core/tests/test_functions.py[25] ............f.f..........
sympy/core/tests/test_logic.py[10] ..........
sympy/core/tests/test_match.py[26] ......f..Ignoring redefinition of
f: f defined earlier than f
...Ignoring redefinition of n: n defined earlier than n
Ignoring redefinition of l: l defined earlier than l
..............
sympy/core/tests/test_multidimensional.py[4] ....
sympy/core/tests/test_numbers.py[27] F..........................
sympy/core/tests/test_relational.py[4] ....
sympy/core/tests/test_subs.py[18] ..................
sympy/core/tests/test_symbol.py[4] ....
sympy/core/tests/test_sympify.py[18] ..................
sympy/core/tests/test_truediv.py[3] ...
sympy/core/tests/test_var.py[3] ...
________________________________________________________________________________
__________________ sympy/core/tests/test_numbers.py:test_igcd __________________
File "/home/ondra/repos/sympy/sympy/core/tests/test_numbers.py",
line 12, in test_igcd
assert igcd(1, 0) == 8
AssertionError
======= tests finished: 305 passed, 1 failed, 7 xfailed in 1.46 seconds ========
DO *NOT* COMMIT!
Last thing that bothers me are those annoying "Ignoring redefinition
of f: f defined earlier than f". I am looking at this now.
Ondrej
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sympy" 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?hl=en
-~----------~----~----~----~------~----~------~--~---