tdd
HttpFileCollectionBase: Mocking Count-Property
I try to mock the Count-Property of an instance of HttpFileCollectionBase - but somehow it doesn\'t work.[详细]
2023-03-21 03:44 分类:问答How to safely unit-test write operations in Symfony 2?
I want to create tests for all my CRUD\'s. But how do I set a separate database for them? Is that the best way to go?[详细]
2023-03-20 23:44 分类:问答How should I inspect the object graph created by a factory in a unit test
I have some code similar to the following: public interface IMyClass { MyEnum Value { get; } IMyItemCollection Items { get; }[详细]
2023-03-20 01:01 分类:问答Visual Studio TDD setup
I\'m a C# developer new to TDD willing to experimen开发者_Go百科t with this development methodology.[详细]
2023-03-19 18:02 分类:问答Moq testing LINQ Where queries
I\'m using EF 4.1 to build a domain model. I have a Task class with a Validate(string userCode) method and in it I want to ensure the user code maps to a valid user in the database, so:[详细]
2023-03-19 11:52 分类:问答Factory_girls and ancestry
im have model Category. class Category < ActiveRecord::Base has_ancestry 开发者_JAVA百科:cache_depth => true, :depth_cache_column => :depth[详细]
2023-03-19 00:14 分类:问答Jasmine: define separate source file sets for Rails?
Separate parts of my site have separate sets of Javascript files, which -thrown all together- interfere with each other. In order to test everything with Jasmine, 开发者_如何转开发it seems I need some[详细]
2023-03-18 20:43 分类:问答How do I test services with cookie based sessions in Flex/AS3
First time posting here. Thanks for taking the time to review the issue. As the title indicates the question is in regards to the service layer of a flex application. Specifically in a test case clas[详细]
2023-03-18 18:36 分类:问答Is there any way to avoid combining many tests into one example, when using mocks?
Partly following on from this question.Hopefully the example speaks for itself: there\'s a WishlistReporter class which asks one object for data and outputs to another object.[详细]
2023-03-18 03:01 分类:问答wpf and tdd patterns
I am learning wpf.I am trying to utilize tdd practices with wpf.I have the following code in one of my viewmodels that saves data from a control into an xml file -[详细]
2023-03-17 12:04 分类:问答