Open farhaanbukhsh opened 6 years ago
Right now the code is just a set of unorganized functions, test cases can be written after the code has been refactored properly
I guess after @hellozee made the changes we are up for a test sprint :)
@farhaanbukhsh i will work on this . can you provide me guide of how to write unit test cases in go
@sourabh1031 I guess you can take a look at how the tests for the logger and the config manager is written. But I myself am not sure how to write the tests for the server and the indexer or the fact that they need any tests or not.
Testing seems kind of overkill at this stage of the program, though, what are you thoughts on it @farhaanbukhsh
what I think is we can have a basic frame for tests.
i will work on the issue. @farhaanbukhsh @hellozee can you suggest me resources to fix the issue
There are no test cases yet each function has to have test cases.