Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bvrmn
on Jan 7, 2024
|
parent
|
context
|
favorite
| on:
Thoughts on Testing
In Python one could use auto specs to be sure test would be broken on calling mocks with changed API[1]. I don't think it's hard to implement (if already not) similar feature for other dynamic languages.
[1]:
https://docs.python.org/3/library/unittest.mock.html#auto-sp...
Consider applying for YC's Summer 2025 batch! Applications are open till May 13
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
[1]: https://docs.python.org/3/library/unittest.mock.html#auto-sp...