fossasia / searss

Search to RSS tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tests for XML testing of Responses

In-vincible opened this issue · comments

We need to add tests for testing the received responses, I wish to take on this issue @rhemon @jayanthchandra , I have added the issue, can I get the abstract of the tests to be performed, like first thing we will check if the xml received is valid, I don't think we can just add static data for testing exact results as the results may change with time, please help :)

yeah you have to use regexp I guess, with which you can test whether xml valid as well as confirm its giving data.

https://github.com/Exirel/python-xmlunittest/blob/master/doc/index.rst I think we should use this or any other library for testing XML, should I proceed with this one @rhemon