drasto

Slovakia/Czech republic

Age: 27

Apr
8
accepted Is there an attribute to set test timeout for all tests in TestClass at once?
Apr
8
awarded Yearling
Apr
7
awarded Notable Question
Apr
3
awarded Famous Question
Mar
31
comment WPF TextBox Validation C#
-1 Using Exceptions for validation can be way too slow. Not a good practise
Mar
30
revised Is there an attribute to set test timeout for all tests in TestClass at once?
edited title
Mar
30
asked Is there an attribute to set test timeout for all tests in TestClass at once?
Mar
14
revised Choosing best elements from sets using Solver Foundation Services APIs
deleted 13 characters in body
Mar
14
revised Choosing best elements from sets using Solver Foundation Services APIs
added 2 characters in body
Mar
14
comment Is there a list of all standard (not custom) Hadoop mapreduce counters?
@vefthym Becasue it is not full list.
Mar
14
asked Choosing best elements from sets using Solver Foundation Services APIs
Mar
14
awarded Informed
Mar
9
awarded Popular Question
Feb
26
awarded Good Question
Feb
24
comment Is there any way how to test contracts set using Code contracts?
+1 nice! I did not know something like this was possible.
Feb
24
comment Is there any way how to test contracts set using Code contracts?
I use ExpectedExceptionAtribute to test very simple case like that one in my edit, so there is often only one place that can cause expected exception. I will consider your advice anyway. Can you have a look on JaredPar's answer and perhaps leave a comment? It seems to me that there are no significant advantages in his approach over yours - except maybe if the type of exception thrown by Code contracts is changed his solution will be still working.
Feb
24
comment Is there any way how to test contracts set using Code contracts?
+1 as good as usually. I just wish method like this was part of Code contracts... Or even better that they provide attribute, something like ExpectedContractAtribute that would be analogous to ExpectedExceptionAtribute.
Feb
24
comment Is there any way how to test contracts set using Code contracts?
@HamletHakobyan I am definitely not using 100% code coverage. Why do you think I don't need unit tests? Code Contracts does not verify the code as well is good unit tests do. We would all by using Code contracts instead of unit tests if they would.
Feb
24
revised Is there any way how to test contracts set using Code contracts?
added 257 characters in body
Feb
24
asked Is there any way how to test contracts set using Code contracts?
1 2 3 4 5