Geeks With Blogs
John Smith's Blog Keeping the fun machine running one nickel at a time May 2009 Entries
Flex Your Pex (Part 4)
A couple of notes about my environment that I didn’t state before. The laptop I’m use is a typical laptop 4Gb of memory standard dual-core, with 64-bit Vista Ultimate as the OS. There don’t appear to be any limitations Pex in on 64-bit, but there are a few messages you’ll see on the dashboard that state that Pex Explorations are going through some kind of “(x86) cold-start”. The first time saw this I thought that I might need to spin up a test project on a 32-bit VM, but it works fine on a 64-bit ......

Posted On Tuesday, May 26, 2009 9:50 AM

Flex Your Pex (Part 3)
I’ve refactored part of the project and removed the generic methods, and added in a few new public methods to illustrate building a real sandwich. To keep the example a bit realistic, I’m leaving the Crunchy layer in a rougher state and building up the Creamy layer. I’m not a big fan of crunchy peanut butter sandwiches, but in a pinch it will do. Pressing on. Our solution looks like this now. I’ve asked Pex to go back through the solution and hook up PUTs for me. One notable thing to mention here ......

Posted On Wednesday, May 20, 2009 3:41 PM

Flex Your Pex (Part 2)
After cleaning up the “Not Implemented Exception” throws in the concrete class implementations of IBusiness Manager, Pex delivered a set of PUTs for each layer. Here’s the details in the Pex Exploration window. Notice the disk in the lower right hand of the icon in the far left gutter, we have a new test. Each new test will have that, telling us we need to save it. If it’s an update to the PUT, then we’ll just have the sunburst in the upper left hand corner. The other visual queue is under the “Details” ......

Posted On Tuesday, May 19, 2009 10:19 AM

Flex Your Pex (Part 1)
Pex has had two updates, one since I first used it, and one after I finished using it. Here’s the release notes for the latest build that dropped on 5/1/2009. Fresh install, and rewinding back through the project I had referenced in my first post. This time I need to build a different project that doesn’t reference my day job and also how well things work with xUnit. The install was perfect again, no issues with that so far. Here are the release notes, and a few steps setting up a new project. I’m ......

Posted On Saturday, May 16, 2009 2:37 PM

Flex Your Pex!

Discussing the use of Pex to build your unit tests through unit test discovery.

Posted On Saturday, May 9, 2009 12:18 PM

Copyright © onefloridacoder | Powered by: