Howdy people, Me again with some more information of how both Code Contracts and Pex can be used together to write expressive tests (while still specifying a (partial) specification of the code). In the course of this article wel’ll also cover Assertions and Assumptions. In order to point out only the necessary topics, let’s introduce [...]
Posts Tagged ‘Pex’
Code Contracts & Pex: Assertions and Assumptions for Expressive Tests
Posted in Automation, c#, Code Contracts, Pex, Unit testing, visual studio, tagged assert, Assertions, assume, assumptions, Code Contracts, expressive test, Pex, Unit testing, visual studio, Visual Studio 2010, white box testing on February 1, 2010 | 5 Comments »
Pex PUT Customization Update: Use Lambda Expressions instead of Anonymous Methods
Posted in Automation, c#, Pex, tips, Unit testing, tagged advice, anonymous function, delegate, lambda expression, Pex, unit test, update on January 19, 2010 | Leave a Comment »
Howdy, In reference to my previous post, Pex: Parametrized Unit Tests and their Customization, I’d like to publish an update: I received an interesting comment by Peli, that the following code piece should be replaced by a lambda expression, in order to make it more readable. Hence, I’d advice that you should just replace the [...]
First steps with PEX: Automated White box Testing for .NET
Posted in Automation, c#, Pex, Unit testing, tagged microsoft, ms_feeds, Pex, testing, unit tests, visual studio, white box testing on January 15, 2010 | 3 Comments »
Hello folks, It’s me again. During the last days I found an interesting new framework: Pex. On the Microsoft’s research labs’ page, it is summarized as follows: Right from the Visual Studio code editor, Pex finds interesting input-output values of your methods, which you can save as a small test suite with high code coverage. [...]

