Geeks With Blogs

@onefloridacoder

News
John Smith's Blog Keeping the fun machine running one nickel at a time

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.

image

 

 

 

 

 

 

 

 

 

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” rich text box… “Save Test…”  Clicking “Save Test…” generates a new dialog that tells us what Pex is about to do to our PUT project.

image

 

Pex is *very* good about telling us what he’s going to do to our projects and PUTs, so this type of dialog is going to get very familiar, unless you tick the “Do not show this dialog  in the future” checkbox.  I would let it pop until you get used to Pex and you’ve moved through at least one set of your examples to see what Pex can do, and is doing, for your PUTs.  After we click “Apply” we get a summary of each successful or unsuccessful step.

 

image

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Now, were have a test method that was previewed in the dialog above.   Notice the green check mark icon as well.  This test is  part of the Pex test project now.  Well do the same for the rest of the new tests, individually.

 

image

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The unit test explorer looks like this now:

 

image

 

 

 

 

 

 

 

 

 

 

 

 

 

Our unit test base line looks like this:

image

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

We have some very boring code.  We need to pass in something to Add, Remove, and Update so we can see some of the other Pex features, and how Pex’ behavior changes based on your code structure.  That’s next. 

Until then.

Posted on Tuesday, May 19, 2009 10:19 AM | Back to top


Comments on this post: Flex Your Pex (Part 2)

# re: Flex Your Pex (Part 2)
Requesting Gravatar...
En outre, il ya trois fa?ades Lieu: la couronne, la couronne vers la gauche et mettre sur la table, un total de cinq emplacements.Considérer leurs propres habitudes et les services: la vie de la montre et le porteur est sur la bonne utilisation et l'entretien de la montre, comme les montres d'usure de bain, montres paraissent sales, longueur inconfort de la sangle, une mauvaise utilisation de l'environnement, etc, sont facilement endommager la replique montre, abréger la vie. Montres haut de gamme tous les deux à trois ans devraient faire l'entretien approprié, les composants étanches de rechange, les performances de détection de temps de déplacement et la puissance du mouvement, de l'apparence propre et le mouvement de la conservation, de sorte que les services d'entretien prolonge efficacement l'utilisation de l'heure de la montre.
Left by Amber on Jun 28, 2013 6:43 PM

# re: Flex Your Pex (Part 2)
Requesting Gravatar...
I would let it pop until you get used to Pex and you’ve moved through at least one set of your examples to see what Pex can do, and is doing, for your PUTs.
huntington beach auto repair
Left by amelieadam on Sep 05, 2013 6:28 AM

Your comment:
 (will show your gravatar)
 


Copyright © onefloridacoder | Powered by: GeeksWithBlogs.net | Join free