On Sun, Dec 28, 2014 at 4:07 AM, Joachim Durchholz <[email protected]> wrote: > Am 27.12.2014 um 23:52 schrieb Aaron Meurer: >> >> On Sat, Dec 27, 2014 at 3:32 PM, Joachim Durchholz <[email protected]> >> wrote: >>> >>> Am 27.12.2014 um 17:33 schrieb Francesco Bonazzi: >>>> >>>> >>>> Both PyCharm and PyDev can detect Python tests written using the >>>> standard >>>> Python unit testing systems, unfortunately they don't recognize SymPy's >>>> tests. >>> >>> >>> SymPy should become more standardized in that respect, I think. >>> But that's a separate discussion. >> >> >> -100000 to using unittest style tests. > > > Why? > > Does "more standardized" necessarily imply "unittest style"?
No, but in that case our tests are already "standardized" (they are just test_* functions with assertions). But if the suggestion is to use the unittest or unittest2 module with the class style of testing I am strongly opposed. I.e. single-click "run all tests" certainly is nice, but SymPy tests need > configuration like --slow and random seed, which tends to break > single-click procedures. Something that requires two or three clicks (and > works reliably) should still be considered good enough for the purpose, > IMHO. Sure but needing to care about those options is rare. The only flag you generally need to care about for testing is -k, which lets you run an exact test function, which can be faster. Aaron Meurer > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sympy. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/549FE475.5010204%40durchholz.org. > > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6JVa1NPRuFGFD%3Dic1L3P1VSfRZ_C4wUy%3DFoXW6Ymn%2BDFQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
