pex-and-moles Questions

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

4

Solved

I'm trying to mole System.ServiceModel v4 in VS 2010 SP1 with Moles 0.94.51023.0 and I keep getting the following errror: The type or namespace name 'IHttpCookieContainerManager' does not exist in ...
Proprietress asked 12/5, 2011 at 15:3

6

Solved

I did search the forum and did not find a similar question. I'm looking to make a final decision on our mocking framework of choice moving forward as a best practice - I've decided on Moq... untill...
Overabundance asked 16/3, 2010 at 15:21

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

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

1

We are using Moles currently to test some code that interacts with a 3rd party library. The library was not setup for testing very well (hence the need for moles) and the issue that I am running in...
Manvel asked 11/11, 2011 at 22:36

1

Solved

I'm starting to using Moles in unit tests and am struggling a little with documentation. I want to mole DateTime.Now. If you look around the old way of doing this was to add a reference to mscorl...
Ginsberg asked 11/5, 2011 at 9:24

3

Solved

This is a tough one because not too many people use Pex & Moles or so I think (even though Pex is a really great product - much better than any other unit testing tool) I have a Data project t...
Flatworm asked 21/9, 2010 at 22:18

2

Can anyone point me to a resource that shows an example of how Pex can be used in conjunction with MoQ? Thanks
Bottoms asked 18/6, 2010 at 15:43

3

Solved

My company is trying to decide if we are going to standardize on Moq, Rhino Mocks or MS Moles and Stubs. I know Rhino Mocks and Moles and Stubs fairly well. But I am unfamiliar with Moq. How does ...
Frugivorous asked 14/9, 2010 at 20:50

3

Solved

I've been looking at several Mocking frameworks for ASP.NET and came across Microsoft Moles. This seems to be a part of Microsoft Research team and was wondering If anyone here has selected Moles o...
Avionics asked 14/6, 2010 at 2:58

2

Solved

I am working with Moles and mocking a System.Data.Linq.Table. I got it constructing fine, but when I use it, it wants IQueryable.Provider to be mocked (moled) as well. I just want it to use norma...
Heiney asked 11/2, 2010 at 17:13
1

© 2022 - 2024 — McMap. All rights reserved.