On Saturday, December 27, 2014 11:32:08 PM UTC+1, Joachim Durchholz wrote:
>
> Am 27.12.2014 um 17:33 schrieb Francesco Bonazzi: 
> > I think it would be nice to make tests easily runnable with PyDev's 
> > debugger. Unfortunately, SymPy's tests being non-standard means that 
> PyDev 
> > is not able to start them. 
>
> Just run bin/test with the proper parameters. 
> Avoid options that cause bin/test to start the tests in a subprocess. 
>
> Also, you *should* be able to start the test programs directly. 
>
>
I would like to run or debug tests with just one click, as illustrated in 
this picture:


<https://www.jetbrains.com/img/webhelp/large_ruby_runAllTests.png>

> Either way, you need to set up a proper PYTHONPATH so that the test will 
> find the sympy module. It took me a bit of fiddling to get everything 
> right, but I got it to work eventually, and I think it gets easier once 
> you know which setting means exactly what. 
> Alternatively, a good set of instructions would be helpful. Since I'm 
> currently setting up a new Eclipse install and getting SymPy to work on 
> it, I might actually write something :-) 
>

That's why I dumped Eclipse as soon as I realized that PyCharm has been 
made open source. Eclipse+PyDev and PyCharm are quite similar when it comes 
to functionality, but I'm much more comfortable with PyCharm. Concerning 
SymPy, with PyCharm I just had to open the folder of SymPy, the IDE 
recognized it was a git repository from github, when lines are edited, they 
get marked by a new color to visually track changes, compare/revert. 
Setting up git in Eclipse required some configuration work instead, and it 
was not as fussless as in PyCharm.

A review by someone else who switched to PyCharm from PyDev:

http://nicoddemus.github.io/articles/pycharm/

PyCharm also supports IPython notebook file editing.

SymPy should become more standardized in that respect, I think. 
> But that's a separate discussion.
>

I think that an IDE's killer feature is the easiness to debug the code, and 
that should be a primary issue. I would really like that SymPy tests could 
be debugged by simply one click on the test file name, that is way more 
comfortable than anything else.

-- 
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/48857943-6503-4c0d-bf36-60bc490beb5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to