factorio-updater
factorio-updater copied to clipboard
Unit tests, pls
It's really not nice to have a complete lack of tests, even if it is unclear what can be tested. At the very least, an issue like #11 could be automatically checked for possible regression*.
* - I hesitate to say it wouldn't have happened, since I probably wouldn't have expected a split upgrade path until one actually presented itself, but now we know it can exist and we should make sure we continue supporting it.
i posted this over in bisa's repo but gonna put it here too and again still not sure how to use it but this might help https://github.com/sstephenson/bats
This isn't a bash script. Regardless, the how of testing isn't relevant to this issue.
I stand corrected It was a long day when i posted that my fault :)
No worries, I found out about bats
:)