pex Questions

4

Solved

Context: I'm learning C# and have been messing about on the Pex for fun site. The site challenges you to re-implement a secret algorithm, by typing code into the site and examining how the inputs ...
Zacynthus asked 10/7, 2014 at 17:46

5

Solved

Today I needed to re-install Microsoft Pex on my develop machine. I'm using Windows 7, 32 bit, Visual Studio 2010, .NET 2/3.5 I launched the usual installer, but it stopped with a mysterious 2753...
Firenew asked 8/10, 2013 at 14:55

6

Solved

I am playing with Pex and one of the parameters it passes into my method is "\0". What does that mean? My guess is an empty string ("") based on the content of my method. However, if it is the sam...
Porcupine asked 18/2, 2010 at 22:53

2

Solved

I am planning to package my flask app as a pex for self contained distribution, wondering how can I run the pex in Gunicorn ? or maybe packaging even gunicorn in the executable so when I run the pe...
Lodger asked 6/11, 2018 at 20:18

1

I'm trying to package a python virtual environment using pex, but can't seem to shake off the "Could not satisfy all requirements for..." error. This is either me being a total python newb question...
Juice asked 12/9, 2015 at 0:39

1

Solved

With Intellitest you can specify a type for Intellitest to use that fits an interface when generating unit tests, however I have a custom factory I wish to use instead. My custom factory: public ...
Hemotherapy asked 24/2, 2016 at 14:38

1

Solved

I've been trying to wrap my head around the python pex utility (https://pex.readthedocs.org/en/latest/) for bundling some applications into .pex files for deployment. My app isn't large enough to ...
Midget asked 4/6, 2015 at 21:54

2

Solved

How do you generate "Smart Unit Tests*" with Visual Studio 2015 Ultimate Preview? *Microsoft's S. Somasegar announced "Smart Unit Tests" (Under the heading 'productivity') for Visual Studio 2015. ...
Phenolic asked 12/11, 2014 at 20:38

6

VS 2010 powertools installation helped to use PEX & Moles in VS 2010. Now with VS 2012, I understand that Moles becomes enriched as Fakes but hopefully PEX is retained, please confirm. Also, ho...
Haworth asked 15/7, 2012 at 7:2

2

I need to create the NUnit Test case automatically from my .Net Solution file. Morover this needs to be done , from command line. I heard Pex create test cases automatically. Let know
Lachrymal asked 5/5, 2011 at 11:59

2

Solved

When it comes to testing I've backed into it. I'm now a huge fan, and often do something like TDD. In VS 2010 for design and regressions I've just used MSTEST. This is great - all my projects are o...
Quince asked 24/11, 2012 at 1:50

5

Solved

Given the following example code, how can I configure Pex to respect my Code Contracts? public static IEnumerable<User> Administrators(this UserGroup userGroup) { Contract.Requires(userGr...
Aga asked 26/5, 2011 at 20:8

3

I don't see any current information about the plans to make Pex work on Visual Studio 2012.
pex
Scowl asked 16/11, 2012 at 18:12

2

Solved

I'm looking for the Pex Addin for VS 2012 (or its equivalent). I know Moles became Fakes (http://msdn.microsoft.com/en-us/library/hh549175.aspx) which is present. I want the Pex part as input gen...
Realty asked 29/1, 2013 at 7:51

1

Solved

Suppose there is a method like this (C#): public static int Add(int x, int y) { return x + y; } If the sum does not fit into the int data type it is probably an error situation which is worth a...
Throaty asked 14/10, 2012 at 9:35

1

Solved

I am hand-crafting new code. I'd like to make sure I leave no stone unturned. Is there anything specific I can do beyond specifying Code Contracts to guide Pex so it produces good coverage in nume...
Berardo asked 26/5, 2012 at 2:7

1

Sorry for the beginner question. My bits are from 2010. I found a thread that say in 2011 there will be an update. Did I really find the last bits? I don't want to ride another dead tool.
Unclothe asked 8/6, 2012 at 19:5

1

In code similar to each of the following examples, I would like to be able to statically analyze code to determine the list of possible values that are passed into SpecialFunction(). SpecialFuncti...
Nectarine asked 13/4, 2012 at 17:33

3

Solved

We are having problems accessing information in .net configuration files (such as app.config and web.config) via unit tests when the unit tests have a host type of "Moles". It's causing quite a few...
Higginson asked 2/2, 2012 at 17:47

1

Solved

I've been using Moles v0.91 for at least a year, with hundreds of tests written and executed daily. After upgrading to v0.94, tests that run under the Moles host are no longer able to access the co...
Knowland asked 14/1, 2012 at 0:35

1

I'm trying to use Pex to test some code. I have an abstract class with four concrete implementations. I have created factory methods for each of the four concrete types. I had also created one for ...
Axiomatic asked 21/9, 2011 at 18:49

2

Possible Duplicate: How Do You Configure Pex to Respect Code Contracts? Currently, when I run a pex exploration, the code contracts I created in my classes are being treated as errors...
Sclerodermatous asked 1/5, 2011 at 0:51

5

Those of you who have used Pex, what do you think its advantages and disadvantages are of Pex as a tool? Also, what do you think are the advantages and disadvantages of "Automated Exploratory Test...
Snitch asked 12/9, 2008 at 16:1

1

Hi there: I was looking at a few videos, etc and I just cant help but wonder why Pex usage seems to be so low? Are there any problems that are not obvious, or is it just a licence issue?
pex
Bloody asked 2/7, 2010 at 12:7

2

Solved

Yes, it is possible to generate tests on boundary values for functions like "Sum" or "Divide". Pex is a good tool here. But more often we create tests on business behaviour. Let's consider example...
Danyel asked 24/4, 2010 at 13:47

© 2022 - 2024 — McMap. All rights reserved.