Bite 243. Test code that parses JSON and IP ranges
Login and get coding
Note this is a Test Bite and uses Python 3.7 and MutPy 0.6.1
Another Test Bite, we ❤️them 😁- today you will write tests for
ipaddress module) and dataclass objects 💪.
Check out the
ips module I wrote parsing a JSON file of IP ranges (ip-ranges.json) under CODE TO TEST, then write tests to get to 100% test coverage and a 100% mutation score.
Good luck and keep calm and code in Python 🐍 and
pytest. Share your accomplishment upon completing the Bite 😎