Strona głównaSztuka programowania

There are a lot of discussions in the Internet about the sense of testing the code with private accessors. In my opinion all of the discussions coming from the wrong understanding of the topic. What is unit testing? It is a testing of units, not classes, not methods exposed by some API. The term private is supposed to be private to the consumer, not to unit tests. Let's have a look at it closer..

Źródło: blog.kateo.pl
Dziel się z innymi:
[EN] Unit testing private methods with PrivateObject and PrivateType | blog.kateo.pl

Sztuka programowania 3668 dni, 12 godzin, 56 minut temu blog-kateo-pl 116 pokaż kod licznika zwiń

Wczytywanie artykułów...

Najaktywniejsi w tym miesiącu