IC窗口
community.icburner.com
Sign in
|
Join
|
Help
首页
精华文章
媒体
问答
维基百科
圈子
精华
VS2010学习
»
All Tags
»
TDD
(
RSS
)
Browse by Tags
VS2010学习
Home
Syndication
RSS for Posts
Atom
Email Notifications
Go
Recent Posts
Beginning Mocking With Moq 3
Comparing Simple Lambda Expressions With Moq
Building Testable ASP.NET MVC Applications
测试驱动开发TDD指南
ASP.NET MVC TDD using Visual Studio 2010
Tags
C#
DDD
EF4
Entity Framework
Entity Framework 4.0
Entity Framework Feature CTP1 for .NET 4.0
Entity Framework v2
IoC
jQuery
Kigg
Kigg系列文章
LINQ to Entities
LINQ to SQL
MVC
MVC2
NerdDinner
Oxite
POCO
T4
TDD
Test
Tip
Unity
VS2010
WPF
View more
Archives
December 2009 (8)
November 2009 (1)
October 2009 (18)
September 2009 (4)
August 2009 (24)
July 2009 (70)
June 2009 (180)
IoC
Moq
MVC
Beginning Mocking With Moq 3
Part 1 While I was at the ALT.NET and MVP summits, the one topic that came up over and over again was the fact that we don’t focus on the beginners enough. And not necessarily beginners in the sense of brand new developers, but beginners in terms of those...
Published
2009/12/23 13:36
by
革命
Filed under:
TDD
,
Moq
Comparing Simple Lambda Expressions With Moq
I was contacted today by a friend who was asking a very poignant question about using Moq in order to mock out a repository that uses expressions as finders. I don't think they were using them quite like we are going to use them below, but I'm...
Published
2009/8/23 13:18
by
革命
Filed under:
TDD
Building Testable ASP.NET MVC Applications
You've probably heard the old adage, " Better , faster , cheaper , pick any two." If you want something good and fast, it isn't going to be cheap, and if you want something fast and cheap, it isn't going to be very good. Cheaper...
Published
2009/7/18 1:27
by
革命
Filed under:
MVC
,
IoC
,
TDD
测试驱动开发TDD指南
建议参考Jeffrey Palermo写的 Guidelines for Test-Driven Development ,以便对TDD中的单元测试有深刻的理解。这里罗列几点: 分隔或模拟诸如数据库、文件系统、网络、队列等等环境依赖。因为对于这些测试返回太慢、并且不会给出实际问题的有用反馈。 在隔离中运行并通过。如果测试要求特定的环境设置否则就会意外失败,那么它们不是好的单元测试。改变它们以便简单、可靠。测试应该在任何机器上都能执行并通过。 经常使用stubs和mock对象。如果要被测试的代码典型地调用外部数据库或文件系统...
Published
2009/7/11 15:47
by
革命
Filed under:
TDD
ASP.NET MVC TDD using Visual Studio 2010
Phil Haack announced yesterday that the tooling support for ASP.NET MVC is available for Visual Studio 2010. Troy Goode already blogged about the designer snippets (which are really really cool, just like other parts of the roadmap for ASP.NET MVC 2.0...
Published
2009/6/30 18:15
by
革命
Filed under:
MVC
,
TDD