最高第 9 名 已下榜
Ruff 等采用黑盒测试
Charlie Marsh回应单元测试讨论,称Ruff、uv和ty实际上都主要靠黑盒测试。
原推
Interesting because this is effectively how we test all of Ruff, uv, and ty引用 @adamhjk: The value of unit testing was always low if you were writing in a strongly typed language. Integration testing, in particular when you used mocks and injection, was always questionable too.
I think it's entirely possible we wind up in a place where the only test suite you actually must build is the black box testing suite, and adversarial review takes care of the rest.
X 上的热门回复
热门回复会在推文发出约 1 小时后抓取,稍后刷新再看。 现在去 X 上看
讨论 0
注册 登录 后参与讨论
还没有人讨论,来说第一句。