Feature Request: Test Report in machine format
Type: Feature Request Name: Test Report in machine format Submitter: Diogo Montagner [email protected] Description:
This feature will enable JSNAPy to produce test report in some machine language format (XML, JSON, etc).
Many people have integrated JSNAP (the original version) with external tools and management systems. All these people wrote a text parser to read JSNAP's test report output and convert it into HTML/PHP or some other format.
Having the ability to present the test report in XML, JSON or any other format that is scriptable will be very helpful when integrating JSNAPy into existing NMS.
@dmontagner With the use of module version, we can get the JSON data of the result. Isn't that would suffice? Also for xml the snapshot file can accessed and parsed through.
It should be.
Let me play a bit with the module version and see if it covers everything. I will come back with the results.
I also want to check if this is also true when storing the data in the database.
Thanks
From: Nitin Kumar <[email protected]mailto:[email protected]> Reply-To: Juniper/jsnapy <[email protected]mailto:[email protected]> Date: Friday, 29 April 2016 at 06:06 To: Juniper/jsnapy <[email protected]mailto:[email protected]> Cc: Diogo Montagner <[email protected]mailto:[email protected]>, Mention <[email protected]mailto:[email protected]> Subject: Re: [Juniper/jsnapy] Feature Request: Test Report in machine format (#47)
@dmontagnerhttps://github.com/dmontagner With the use of module version, we can get the JSON data of the result. Isn't that would suffice? Also for xml the snapshot file can accessed and parsed through.
— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHubhttps://github.com/Juniper/jsnapy/issues/47#issuecomment-215675701
@dmontagner Do wait for a day to try module version. We are doing few changes to make it more user friendly. Will keep you posted
@vnitinv, Following our last discussion, did you got a chance to expose all informations through the jsnapy python modules ? as it, I'm pretty sure it won't works for Diogo
@dgarros That is what we are trying to expose. Will send you both a writeup tomorrow morning (IST)