Automatic generation of E2E Robot tests from templates and a reduced list of params
Proposers
- Gerardo García (Telefónica)
Description
There is a growing interest from the OSM ecosystem to use existing OSM packages generated for the Hackfests. In addition, some EU research projects are using OSM and have created packages that could be contributed to OSM. So far, those packages have been contributed to OSM packages repo, but its way of consumption is not clear.
Unfortunately, only by contributing the packages and showing a demo, we cannot guarantee that these packages will work with OSM in the long run. Robot Tests need to be created for those packages so that they could be tested daily in OSM pipeline.
This feature proposes the automatic generation of E2E Robot tests using templates (e.g. based on Jinja) and a reduced list of input parameters such as NF and NS packages, NS instances to be created and day-2 operations to be executed. The generated E2E Robot test will upload those packages to OSM, create NS instances, test IP and SSH reachability (when applicable), run day-2 operations, delete NS instances and delete packages.
Demo or definition of done
The tool will be used to generate a Robot test from a set of packages. The generated Robot test must pass the linting mechanisms in tests repo.