fossasia / searss

Search to RSS tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Tests

rhemon opened this issue · comments

We should be adding tests, and should try to have 100% coverage.

Hi @rhemon I would like to write tests, can you help me get started?

@In-vincible sorry for the late response, but yes go ahead. i would suggest you use unittest. and have a test for each function, since to have 100% coverage I think every conditional parts and outputs need to be tested. if you need further help, ask here, I will try to response quickly. I am new to unittesting so if we are stuck we will find the solution together 😉

Just read ur reply right now I am on a trip, I will be returning back day after tomorrow, please give me 2 day time for starting work if possible.

@In-vincible , currently it supports for two search engine with just two features, we can add more test for other engines. if you need any help, let us know.

Its partially done by #25 and #28 and for improvement there is another issue, so closing this since it will only be a repetition.