opentap/OpenTap.Python

Missing Plugins in package.xml

Closed this issue · 6 comments

db-ks commented

@alan-copeland-keysight is building an OpenTAP package that contains OpenTAP plugins written in Python. In the built *.TapPackage the file package.xml does not contain the plugins in <Plugins> section:

   <Plugins>
        <Plugin ...></<Plugin>
        <Plugin ...></<Plugin>
        <Plugin ...></<Plugin>
        ...
   </Plugins>

This appears to be a problem for all Python-based plugins. PythonExamples, for example, does not show any plugins information in the package.xml or on packages.opentap.io

image
image

@rmadsen-ks - is this a problem with tap package, or the Python plugin?

Hi @alan-copeland-keysight,

I think this feature has not been considered that important until now.

Basically, OpenTap.Package only supports doing this for .net assemblies. So I guess we have to add support in the python plugin?

Maybe we can add it with some serializer plugin, but it is going to be a bit hacky.

Without it, KS8500 is unable to add Python packages. The workaround is equally hacky: add a C# ResultListener that does nothing, but allows the plugin to be "discovered".

If you can work with that for now, then maybe we can solve the problem properly in OpenTAP.

Theoretically I think the Python plugin does everything it should in respect to this now.

This is fixed in 3.2.