Recommendations for development and testing environments

Asked by Alex Railean on 2012-03-17

Hi Jakob,

I made a few changes and my next step is to test them. I am not sure what the best approach to doing so is.

On one hand, I have Ladon installed with easy_install, and I would like to run my development version without affecting the regular one. Is there a way to do so without creating a new .egg from the beta, removing the old version, installing the new one?

As many small incremental changes are made, it would be great if I could test them without jumping through all the hoops described above.

My idea was to alter sys.path in the very beginning and add the path to my development version of Ladon to the very beginning, such that everything is imported from there - this way there's no need to change anything elsewhere. However, I did not find anything of this sort in the included files, so I guess you use a different method,

What if your approach?

Question information

Language:
English Edit question
Status:
Answered
For:
ladon Edit question
Assignee:
No assignee Edit question
Last query:
2012-03-17
Last reply:
2012-03-20
jsgaarde (jakob-simon-gaarde) said : #1

I recommend that you just do a normal python setup.py install overwriting the easy_install version.

You can easilly get the current easy_install version back by removing the ladon version's inside yout python-dist location.

I recommend that you make continue my work in the "tests" folder. Take a look at testladon.py.

/ Jakob

Can you help with this problem?

Provide an answer of your own, or ask Alex Railean for more information if necessary.

To post a message you must log in.