Testing the changes

72 views
Skip to first unread message

Yathartha Joshi

unread,
Jan 24, 2017, 6:30:19 AM1/24/17
to sympy
Hey, I am new I need help regarding how do I test the changes that I made in the module.
I have made certain  changes but I can't figure out how to check whether my changes work for all test cases... How do I check??

Gaurav Dhingra

unread,
Jan 24, 2017, 6:42:19 AM1/24/17
to sy...@googlegroups.com
You can test the changes made in the module running

user@machine:~/sympy $ python ./bin/test

in your SymPy main repo. You can read more about running tests tests here https://github.com/sympy/sympy/wiki/Development-workflow#be-sure-that-all-tests-of-sympy-pass.


Gaurav Dhingra

On Tue, Jan 24, 2017 at 5:00 PM, Yathartha Joshi <yatha...@gmail.com> wrote:
Hey, I am new I need help regarding how do I test the changes that I made in the module.
I have made certain  changes but I can't figure out how to check whether my changes work for all test cases... How do I check??

--
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 sympy+unsubscribe@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/75d1c8e0-3b1c-42cb-bb9a-97660e5fb2d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Yathartha Joshi

unread,
Jan 24, 2017, 7:02:27 AM1/24/17
to sympy
Do I require the command to run in the git bash?
Secondly, there is test file in the bin directory(as you mentioned), and there is a test directory in the module itself(solvers in my case). What does this means?

Yathartha


On Tuesday, January 24, 2017 at 5:12:19 PM UTC+5:30, Gaurav Dhingra wrote:
You can test the changes made in the module running

user@machine:~/sympy $ python ./bin/test

in your SymPy main repo. You can read more about running tests tests here https://github.com/sympy/sympy/wiki/Development-workflow#be-sure-that-all-tests-of-sympy-pass.


Gaurav Dhingra
On Tue, Jan 24, 2017 at 5:00 PM, Yathartha Joshi <yatha...@gmail.com> wrote:
Hey, I am new I need help regarding how do I test the changes that I made in the module.
I have made certain  changes but I can't figure out how to check whether my changes work for all test cases... How do I check??

--
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 sympy+un...@googlegroups.com.

Yathartha Joshi

unread,
Jan 24, 2017, 8:29:41 AM1/24/17
to sympy
Also I tried the commands but it stated python command not found.
Further I specified the path
Path=$PATH:/C:/Users/DELL/AppData/Local/Programs/Python/Python35/

  It still did not worked..What may be the posiible reason?

Yathartha Joshi

unread,
Jan 24, 2017, 8:41:54 AM1/24/17
to sympy
Sorry for the two messages, I was a bit too early to post.
Now I figured out where actually  I was going wrong.
The problem is solved. Thanks @gaurav.

Yathartha

On Tuesday, January 24, 2017 at 5:00:19 PM UTC+5:30, Yathartha Joshi wrote:

Gaurav Dhingra

unread,
Jan 24, 2017, 8:52:50 AM1/24/17
to sy...@googlegroups.com
If you feel okay, then you can post your solution (where you were going wrong).


Gaurav Dhingra

--
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 sympy+unsubscribe@googlegroups.com.

To post to this group, send email to sy...@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.

Yathartha Joshi

unread,
Jan 24, 2017, 10:32:49 PM1/24/17
to sympy
Well, Python was not working in the command line of git bash it gave the error python: command not found, so I searched for the way to do it. Even running the desired commands the same error resulted, the mistake that I made was I guess I did not launch the git bash in the usual way rather I opened in the sympy repo.
Here is the link to make python working in the git bash: http://interactivepython.org/runestone/static/pip2/Installation/pythonInstall.html.

Hope this may help.
Yathartha

On Tuesday, January 24, 2017 at 7:22:50 PM UTC+5:30, Gaurav Dhingra wrote:
If you feel okay, then you can post your solution (where you were going wrong).


Gaurav Dhingra
On Tue, Jan 24, 2017 at 7:11 PM, Yathartha Joshi <yatha...@gmail.com> wrote:
Sorry for the two messages, I was a bit too early to post.
Now I figured out where actually  I was going wrong.
The problem is solved. Thanks @gaurav.

Yathartha

On Tuesday, January 24, 2017 at 5:00:19 PM UTC+5:30, Yathartha Joshi wrote:
Hey, I am new I need help regarding how do I test the changes that I made in the module.
I have made certain  changes but I can't figure out how to check whether my changes work for all test cases... How do I check??

--
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 sympy+un...@googlegroups.com.

To post to this group, send email to sy...@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
Reply all
Reply to author
Forward
0 new messages