109: (Default)
[personal profile] 109
PS. читаю сейчас http://xprogramming.com/xpmag/expUnitTestsat100.htm и не знаю, плакать, или смеяться:

"Suppose it only took a tenth of a second to compile, link, and test your entire system. OK, I admit I'm extreme, but even I know we can't do that. But go with me here -- let's imagine what would happen if we could. And while we're at it, let's imagine that our tests are comprehensive: they test everything that needs to work. When our tests run, we're sure the system is right."

(обратите внимание на "let's imagine")

"The really wise [XP] teams write a test first, then a little code, then another test, and so on. Teams are reporting 100% coverage using this technique alone, which is quite good in a lot of environments."

(теперь, значица, "let's imagine" уже нет - типа 100% coverage у XP teams сам получается, стоит лишь назваться XP team)

"Your team could gain these advantages too. Just write automated unit tests and keep them at 100%. We're sure that if you do, you'll see improvement right away."

(и при этом ну совершенно не говорится, как же добиться этих 100% coverage, уж не говоря о том, сколько это будет стоить и занимать времени. "tenth of a second", ага!)
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

109: (Default)
109

March 2019

S M T W T F S
     12
3456789
101112131415 16
17181920212223
24252627282930
31      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags