Matthew Martin β β π on Nostr: Coding with expensive APIs - I'm afraid to run a integration tests - Cost logger ...
Coding with expensive APIs
- I'm afraid to run a integration tests
- Cost logger essential
- pytest-network (disabled network in tests) now essential
- dry-run feature now essential
- API fake object is application code, not test support code
- Infinite loops are now infinitely expensive
- Halting problem is now a real problem with a dollar cost.
- Even a few cache hits pays off.
https://pypi.org/project/pytest-network/
- I'm afraid to run a integration tests
- Cost logger essential
- pytest-network (disabled network in tests) now essential
- dry-run feature now essential
- API fake object is application code, not test support code
- Infinite loops are now infinitely expensive
- Halting problem is now a real problem with a dollar cost.
- Even a few cache hits pays off.
https://pypi.org/project/pytest-network/