Closed fahad-israr closed 3 years ago
@maxandersen have made suggested changes already @commmit . It solves the linked issue . As far as the tests are concerned I am not sure what tests to add here and would need suggestion on that and I am opening a separate issue so that we don't miss that .
To test the code we need the code to be testable. Atm all the main code is in one big method and thus very hard to write tests for it.
To test the code we need the code to be testable. Atm all the main code is in one big method and thus very hard to write tests for it.
I've opened a separate Issue for adding Tests . I'd try to break down code in different functions (though we still have many ) and probably that could help in testing .