#72: Recipe results in XML -------------------------+----------------------------- Reporter: rpazdera | Owner: olichtne Type: enhancement | Status: new Priority: major | Milestone: Stable Release Component: lnst-ctl | Version: git Keywords: | Blocked By: Blocking: | -------------------------+----------------------------- It would be nice to have an option to `lnst-ctl` that would make the controller produce a XML containing results of the tests for easy machine processing.
The option could be called for instance -r for 'results' or -x for 'xml- result'.
This will also require some changes to the interface of the TestModules, so they return proper results instead of just True or False.
#72: Recipe results in XML --------------------------+---------------------------- Reporter: rpazdera | Owner: olichtne Type: enhancement | Status: new Priority: major | Milestone: Stable Release Component: lnst-ctl | Version: git Resolution: | Keywords: Blocked By: | Blocking: --------------------------+----------------------------
Comment (by olichtne):
This functionality is already present, via the use of the option -x FILE or --result=FILE . These will create a file containing recipe results in XML format. The format is created by the NetTestResultSerializer class from the dictionary structure which is used for command results.
The xml will contain all the information provided and the format is therefore dynamic. Most of our test modules already follow some kind of 'standard' way of providing results so these look pretty similar. Additional result information is provided in the result dictionary under the key 'res_data'.
However we do not enforce any specific format. This gives us more flexibility but cannot be comfortably used for other tasks. We should have a proper discussion on this topic to decide what we want to do.
#72: Recipe results in XML --------------------------+---------------------------- Reporter: rpazdera | Owner: olichtne Type: enhancement | Status: closed Priority: major | Milestone: Stable Release Component: lnst-ctl | Version: git Resolution: fixed | Keywords: Blocked By: | Blocking: --------------------------+---------------------------- Changes (by rpazdera):
* status: new => closed * resolution: => fixed
lnst-developers@lists.fedorahosted.org