Public-Health-Scotland / hsmr

Reproducible Analytical Pipeline of the Hospital Standardised Mortality Ratio (HSMR) quarterly publication
9 stars 1 forks source link

File sizes #70

Closed jackhannah95 closed 5 years ago

jackhannah95 commented 5 years ago

The last big one.

Would've liked to have written more tests, but struggled to think of any good ones. Can't really test the error handling without hard coding an arbitrary filepath (which seems pointless) or creating a new file on disk every time the tests are run, which I don't think is a good idea. Let me know if you can think of any though, and obviously try to break the function in every conceivable way.