Ask Your Question
0

How to test a modified version of code?

asked 2013-04-02 10:01:51 -0500

sanyam gravatar image

I have forked the develop branch and cloned it into my computer. If I now make some changes to the local version of source code. How do I test it? Do I have to install it all over again?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2013-04-02 13:44:35 -0500

kscottz gravatar image

Here is what you do. Go to the root simplecv directory and run 'sudo python setup.py develop.' This will force python to reload all of simplecv every time you import the library so your changes take effect. If you want to run the tests install the nose testing library (easy_install nose). To run the tests go to the tests (/SimpleCV/SimpleCV/tests/) directory and run 'nosetests tests.py.'

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-04-02 10:01:51 -0500

Seen: 112 times

Last updated: Apr 02 '13