Open swapagarwal opened 4 years ago
@swapagarwal @TeAmP0is0N can pytest
be used as the testing framework?
Yes.
@TeAmP0is0N Since I am working on other issues as well, I'll work on this as soon as I solve them. I'm unassigning myself for now. Thanks.
Hi @swapagarwal @TeAmP0is0N . Is this issue up for grabs? Can I be assigned to this issue?
@Pihu1998 Please, go ahead. :)
See how the module is being called in the code and write tests accordingly. Basically see if the random comic object returned follows the expected schema. This would act as an integration test so that if anything changes in the xkcd api and the corresponding module requires updating, the test should fail!