Am 28.12.2014 um 23:14 schrieb Aaron Meurer:
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).

Ah. No, that wasn't what I meant.
I meant to say "if we follow standard patterns of testing frameworks more closely, tools like PyDev and PyCharms should work better".

I have no knowledge of unittest and unittest2, and don't know if they would be a good or bad idea.

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.

Well, not for me. --slow was the first option I needed.

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.


Which means that the point still stands: even the best IDE won't be able to offer a single-click solution since you need to configure stuff differently depending on what you want to know. I.e. you need at least a second click to select the intended option(s).

--
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/54A0D478.1000207%40durchholz.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to