我正在构建一个具有一些公共和私有方法的类库.我希望能够对私有方法进行单元测试(主要是在开发时,但它也可能对将来的重构有用).
这样做的正确方法是什么?
.net tdd unit-testing private
.net ×1
private ×1
tdd ×1
unit-testing ×1