autofixture
How to add a fake EF4 Rerefence with AutoFixture ( or without if possible )
I have the following code: public class FakeOrderRepository:IOrderRepository { private static Fixture fixture = new Fixture();[详细]
2023-04-06 03:09 分类:问答Reg. Unit Testing an Html Helper with AutoFixture
The original question is : Unit Testing an Html Helper with AutoFixture Not sure I should re-open the original question; however since I marked the original question as resolved I decided to create a[详细]
2023-04-04 11:11 分类:问答Use value of a parent property when creating a complex child in AutoFixture
I\'m using AutoFixture to generate data for a structure involving a parent object and complex child objects, like this:[详细]
2023-04-03 03:23 分类:问答Unit Testing an Html Helper with AutoFixture
I\'m attempting to 开发者_如何学编程Unit Test an Html Helper using AutoFixture. Below is my SUT[详细]
2023-04-02 14:10 分类:问答The purpose of creating anonymous types in AutoFixture for class under tests?
I recently started using AutoFixture library (http://autofixture.codeplex.com/) for Unit Testing and I quite like it.[详细]
2023-03-09 17:37 分类:问答What are the differences between MOQ and AutoFixture?
I have a fair amount of experience using MOQ, while I\'ve recently have stumbled into AutoFixture. What are the differences between these frame开发者_JS百科works?The FAQ explains the difference. In sh[详细]
2023-02-28 12:59 分类:问答AutoFixture - how do I call a method, how to set a private setter of an autoproperty?
Here\'s my class: public MyClass { public int Id { get; private set; } public SetAssignableId (int id) {[详细]
2023-02-26 20:53 分类:问答How do I create a list of classes which always have a predefined value set in AutoFixture?
how do I crea开发者_开发百科te a collection of classes which always have a certain predefined value set in AutoFixture?[详细]
2023-02-22 11:22 分类:问答How to create an IList of anonymous classes using AutoFixture
I previously posted a question on this link: Class with a nested collection - how do I populate the nested class?[详细]
2023-02-21 18:15 分类:问答Customizing AutoFixture builder with seeded property
I\'ve got a customized autofixture builder for an integration test.Code is below. Question 1 - At present the first transaction has a TransactionViewKey.TransactionId of 1, etc.How do I set the Trans[详细]
2023-02-18 21:32 分类:问答