3 ms·
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) s
by bvrmn 3y ago
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-speccing https://docs.python.org/3/library/unittest.mock.html#auto-sp...