Keep your Source Close and your Unit Tests Closer

后端 未结 7 507
既然无缘
既然无缘 2021-01-03 05:12

When I first started using unit tests I encountered two problems. First was being able to test private methods and fields and second falling behind on keeping unit tests up

7条回答
  •  爱一瞬间的悲伤
    2021-01-03 05:30

    And how, pray tell, do you run your unit tests on any build for which you've set UNITTEST to false?

    I'm a crappy, lazy implementer of TDD. I don't write anywhere near enough tests, and I don't run them way too infrequently. But even I test my release builds.

提交回复
热议问题