Python-Plugin development flow: code reloading in editor

My development flow of new python plugins/test-steps is currently a bit cumbersome. My issue is, when I alter/change a python-file (a test-step) during my development, the changes are not in effect when I press “run” in the opentap editor.

In order to ‘load’ the new code, I currently have to close and re-open the editor. This gets quite cumbersome - I would hope that some other feature is available to ‘load’ the code.

I found in the python-getting-started documentation here the following line:
" * Modifying the Basic Functionality example to include your own log messages. You can also try this with code reloading enabled (In Python settings)." - which sounds exactly like what I need. However, in the Settings->Python I find no such ‘code-reloading property’.

Hi @bernhard.lettner,

We used to have some limited support for that, but unfortunately we don’t anymore.

It could be added again but there are some hard problems to solve.

The issue is located here: Add support for live reloading python modules · Issue #24 · opentap/OpenTap.Python · GitHub

You can write a comment if you’d like, that can help show interest in the feature.

Thanks @rolf_madsen for this clarification! I will add a comment there