Back

Forum Replies Created

Viewing 0 reply threads
  • Author
    Posts
    • #12938
      Kane
      Participant

      First of all, don’t test private methods

      Because to test a private method you have to break the internal implementation of the tests which in turn breaks the encapsulation of your class. So, it’s better not to test private methods.

Viewing 0 reply threads