Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Group info
Language: English
Group categories:
Computers > Programming
More group info »
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 1365  Older »

You cannot post messages because only members can post, and you are not currently a member.
Description: A discussion list about Rhino Mocks - an advance mock objects framework for the .Net framework.
http://www.ayende.com/projects/rhino-moc ks.aspx
 

How to use real WCF services instead of mocking them 
  Hi, I have a application where WCF services constitute datalayer, and controller calls class in datalayer, which in turn calls WCF service. All these days I have been mocking the datalayer class to return stub response, but I today I have let the controller call the datalayer so that actual service will be called. But this has failed, since the... more »
By Sai Karthik  - May 7 - 2 new of 2 messages    

Arg<T>.Ref() in combination with Throw() not working as expected 
  Hi, I've had an issue with the following test case, written against Rhino 3.6: Method Code: public class ClassUnderTest{ public string Arg0{get;set;} public string Arg1{get;set;} public IValidator Validator {get;set;} public bool Validate() { string proposal = string.Empty; try... more »
By Sebastian Edelmeier  - May 2 - 6 new of 6 messages    

Compilation on Args.cs 
  Looking at the code for Args.cs it's got a conditional compile, depending on the .Net version - and it looks like it's using the "old" version, from my usage of the code. This is making my testing code (slightly) more complex - is there any reason why it is doing this? Checking the repo - the debug compile has this:... more »
By Andrew Ducker  - Apr 26 - 2 new of 2 messages    

Source code of version 3.6.1 on NuGet 
  Hi all, I'm using the NuGet package of RhinoMocks 3.6.1. (its metadata say it was created by ayende) but as far I know, Ayende hasn't updated this project since a long time ([link]) The other repository that could be "official" ([link]) is also inactive... more »
By Gustavo Russo  - Mar 18 - 1 new of 1 message    

Trial Rhino Mock for Silverlight 5 
  Hi, I would like to ask on the trial rhino mock for silverlight 5. Can you provide me the trial installer? Hope to hear from you soon! Thanks. :)
By cute_hoa...@hotmail.com  - Mar 18 - 1 new of 1 message    

"Cannot set parent to an interface" calling GeneratePartialMock() 
  Calling GeneratePartialMock() on a complex generic type is giving me the error "Cannot set parent to an interface". According to what I read in several places, the error originates at the DynamicProxy library and it was due to a bug that has already been corrected. Any clue when a new Rhino Mocks build incorporating the latest Castle... more »
By Luis Ferreira  - Feb 27 - 5 new of 5 messages    

Error after Dropping in RhinoMocks when used with a Unit of Work and Repository pattern 
  Hi, I've got a repository pattern and unit of work pattern in place for my data layer. I have another layer which performs most of the heavy lifting logic and calls to the Unit of Work object in the data layer. I am building unit tests for the logic layer. I just dumped Rhino Mocks into the project and... more »
By Brent Pabst  - Jan 13 - 3 new of 3 messages    

Mocking Ninject IKernel 
  Hi This is the block of code that I have written to test some method. But it throws an exception on line 3 that "Value can not be null ". IDataRepository repository = MockRepository.GenerateStub<ID ataRepository>();IKernel kernel = MockRepository.GenerateStub<IK ernel>(); kernel.Expect(k => k.Get<IDataRepository>()).Retu rn(repository);... more »
By M  - Dec 31 2012 - 6 new of 6 messages    

rhino mocks, visual studio 2012, c# : setup, configure? 
  Hi, I am a newbie in testing frameworks and rhino mocks is the first one I am trying to implement in visual studio 2012 for a c# project. I have included the rhino mocks *.dll as a reference and made two classes in a single project. I got the code from @ [link]... more »
By littlechap22  - Dec 5 2012 - 4 new of 4 messages    

Constructing the test object using mock repository with parameters injected as mock 
  Is there an mechanism where I can construct the object using mock repository without having to pass the parameters. I am expecting the parameters to be created as mock. In my test, I can get the mocked parameters injected from the repository, so I can setup appropriate expectation for the test case.... more »
By BB  - Nov 22 2012 - 1 new of 1 message    

1 - 10 of 1365   « Newer | Older »

XML       Send email to this group: rhinomocks@googlegroups.com