I have a dev that will get around our code coverage by writing tests that never fail.
The code is just awful, but tests will never catch it because they claim (true).
I am reviewing the code, but I cannot do everything for them, all the time. How do you get people who are motivated to create good software?
Is there a build plugin to detect tests that cannot fail?
C #, mbUnit tests.
. , , - , . , .
, , , " ", . , .
, .
, . - ( , dev), , , , , , , .
dev TDD? , - .. , , / .
, , , , , .
/, .
, , assert(true) grep -ping.
assert(true)
grep
.
?
, , , - .
-, , - , ...
, , . , / , . . , , .
, , , , - . . , , , , unit test.
, . Nester, ( .Net Jester) - , .
, , !
: : " ?" , .
, . . ppl .
, " ". PEX, , , , ... , .
, "", - , . , , " " . , , 2 , .
Unit-Tests , ... , .
Source: https://habr.com/ru/post/1697231/More articles:CVS and Visual Studio 2008 - integration options - visual-studioAre there native compilers for functional programming languages - functional-programmingReduce the startup time of a .NET windows form application that has a network drive running - performanceIs there an easy way to get Apache Tomcat to automatically reboot after deployment? - javaЧто создает CMS с открытым исходным кодом: генерирует чистый xhtml, доступен для скинов с помощью css и имеет легкий редактор содержимого разметки? - language-agnosticСуществует ли модель трассировки лучей на Java, которая может быть адаптирована для использования в подводной акустике? - javaКак вы поддерживаете отдельные веб-сервисы для dev/stage/production - c#Is there any performance advantage with the "chaining" in .NET? - performanceF # и корпоративное программное обеспечение - c#Primary VmWare Hard Drive Extension - vmwareAll Articles