How to test after making some changes in code?

49 views
Skip to first unread message

shubham tibra

unread,
Jan 26, 2016, 10:10:48 AM1/26/16
to sympy
I made some changes to the code to solve a issue. Now how do I know if the bug is sloved?

I need to know whether the code gives correct output now , how to test it?

Thanks

Jason Moore

unread,
Jan 26, 2016, 10:58:22 AM1/26/16
to sy...@googlegroups.com
You can run:

bin/test

to run all the unit tests. Type:

bin/test -h

to see the options.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/8011713d-9ae1-4484-8db7-44d2f46db15c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

mvnnn

unread,
Jan 26, 2016, 10:58:24 AM1/26/16
to sympy
I made some changes to the code to solve a issue. Now how do I know if the bug is sloved? 
I need to know whether the code gives correct output now , how to test it?
 if you already installed sympy then first need to activate your env and run ">>> python " in terminal otherwise run ">>> isympy" in teminal and test your changes..
 
for test all code using this command ">>> ./setup.py test" ...if all test case are passed then your changes are may be acceptable it's depends on your changes.

you need to refer this --> http://docs.sympy.org/latest/install.html

shubham tibra

unread,
Jan 26, 2016, 12:19:40 PM1/26/16
to sympy
What if want to give some input and check if it is giving correct output now, How I do that?

Jason Moore

unread,
Jan 26, 2016, 12:25:03 PM1/26/16
to sy...@googlegroups.com
You can do that manually in the Python interpreter or write your own unit tests that check input and output.

Jason

--
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