Stories recently tagged with 'TDD'

Dev Magic Fake Framework Released on CodePlex(mohamedradwan.wordpress.com)

submitted by mradwanmradwan(39) 5 months, 8 days ago

Dev Magic Fake is a faking framework and open source project that provides the ability to focus on how to complete, verify and test the application behaviors and response without focus on coding or developing the underline layers until the application features finished, tested and approved read more...

1 comment |category: |Views: 6

tags: another

Docx 2 UnitTest(www.lennybacon.com)

submitted by philippropleschphilipproplesch(15) 1 year, 8 months ago

A Visual Studio 2010 custom tool to generate unit tests from Microsoft® Word® 2007/2010 documents. read more...

add a comment |category: |Views: 25

tags: another

Docx 2 UnitTest(www.lennybacon.com)

submitted by philippropleschphilipproplesch(15) 1 year, 8 months ago

A Visual Studio 2010 custom tool to generate unit tests from Microsoft® Word® 2007/2010 documents. read more...

add a comment |category: |Views: 25

tags: another

Unit Testable WCF Web Services in MVVM and Silverlight 4(blog.roboblob.com)

submitted by spavkovspavkov(1708) 1 year, 9 months ago

I figured that there has to be a better way to solve this everyday problem so while working on my personal MVVM framework (yes, everyone is building one these days) i was setting these goals regarding the Web Service calls from my MVVM applications: 1. simplify as much as possible asynchronous invocation of Web Service methods (avoid writing boring boilerplate code for each call) 2. get rid of the Add Service Reference approach completely if possible 3. make the Web Services unit testable (hide them behind some interface so we can mock them in our unit tests) 4. simplify exception handling 5. fault tolerance (if web service client is faulted by exception it should be automatically recreated) ... read more...

add a comment |category: |Views: 264

tags: another

Auto-mocking hierarchies (a.k.a. recursive mocks) with Moq(bengtbe.com)

submitted by bengtbebengtbe(470) 2 years, 5 months ago

In this post I will show how the auto-mocking hierarchies (a.k.a. recursive mocks) feature of Moq can greatly simplify your unit tests. read more...

add a comment |category: |Views: 32

tags: another

ASP.NET MVC, TDD and Fluent Validation(richarddingwall.name)

submitted by JemmJemm(9604) 2 years, 5 months ago

"Yesterday I wrote about ASP.NET MVC, TDD and AutoMapper, and how you can use them together in a DDD application. Today I thought I would follow up and explain how to apply these techniques to another important (but boring) part of any web application: user input validation." read more...

add a comment |category: |Views: 363

tags: another

Introduction to Test-Driven Development with ASP.NET MVC(weblogs.asp.net)

submitted by mvcguymvcguy(235) 2 years, 6 months ago

Introduction to Test-Driven Development (TDD) with ASP.NET MVC. read more...

add a comment |category: |Views: 32

tags: another

ASP.NET MVC TDD using Visual Studio 2010(blog.maartenballiauw.be)

submitted by maartenbamaartenba(5845) 2 years, 8 months ago

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). I’ll give the new TDD workflow introduced in VS2010 a take. read more...

1 comment |category: |Views: 363

tags: another

A Software Craftsman’s 200$ Bookshelf Upgrade!(blog.goeran.no)

submitted by GOEranGOEran(380) 2 years, 8 months ago

About three weeks ago, I asked my readers and some people in the Norwegian developer community about what books they have in their bookshelf. The response was good, and I ended up with many good book recommendations. Today I placed a new order on Amazon, and spent 200$ to upgrade my bookshelf. If you read further, you’ll see which books I ordered. read more...

add a comment |category: |Views: 30

tags: another

Toward a Better Use of Context/Specification(stevenharman.net)

submitted by usshermussherm(5285) 2 years, 8 months ago

have you hand-rolled your own base class for your Context/Specification style specs? Curious whats different between a Context/Specification base class and a typical unit testing base class? read on... read more...

add a comment |category: |Views: 39

tags: another

Redefining ALT.NET or rather, rediscovering it’s meaning(blog.decayingcode.com)

submitted by arch4ngelarch4ngel(585) 2 years, 8 months ago

I’ve heard about ALT.NET about a year ago. At first, I thought that it was about using alternatives to Microsoft or to avoid Microsoft software. ALT.NET was supposed to be about going “alternative” and being against “The Man” and being for “The People”. Well, I must agree that I wasn’t totally right with that. I mean, Microsoft make some mess but it also does a lot of great tools and particularly a great IDE with lots of extensibility point. Then, I did what I should have done in the beginning. I looked up the definition. read more...

add a comment |category: |Views: 6

tags: another

Unit testing WCF services through dependency injection(toomuchcode.com)

submitted by JemmJemm(9604) 2 years, 8 months ago

"When building a WCF service in an enterprise application, this service frequently depends on other services or resources. When creating unit tests for this service, we don’t want to host all these other services over WCF endpoints. Instead we will most likely want to inject mock objects. In some case we may even want to inject some in-process instances of these other services." read more...

add a comment |category: |Views: 208

tags: another

The Wonders Of InternalsVisibleTo(jason.whitehorn.ws)

submitted by senfosenfo(881) 2 years, 9 months ago

Demonstrates how to expose an assembly's internal parts to "friend" classes using the InternalsVisibleTo attribute. read more...

add a comment |category: |Views: 63

tags: another

The best way to learn new API’s; TDD!(blog.goeran.no)

submitted by GOEranGOEran(380) 2 years, 9 months ago

In this post I will tell you a story about how I used TDD (Test Driven Development) to learn new a new API, and how I successfully managed to accomplish my task before expected, and delivered 100% working code (no defects), even though I did something I’ve never done before – interested? I thought so ;) read more...

add a comment |category: |Views: 344

tags: another

Kona: Continuous Integration and Better Unit Testing(blog.wekeroad.com)

submitted by johnrummelljohnrummell(1296) 2 years, 10 months ago

In this screencast Rob Conery and Brad Wilson talk about continuous integration with TeamCity, Unit Testing with xUnit and TDD in general. "This screencast went from a simple idea – talking to Brad Wilson about better Unit Testing – to some pretty broad topics such as source control, unit testing, and continuous integration. I seriously could have written a whole book based on the stuff flying through my mind. I reigned it in a bit and decided to focus on two things that I don’t think get enough press: writing a good Unit Test coupled with Continuous Integration." read more...

add a comment |category: |Views: 232

tags: another

DDD & TDD using EF, Part 2.A Unit Testing Entities With Moq3(mosesofegypt.net)

submitted by mosessaurmosessaur(5424) 2 years, 10 months ago

I had few previous posts about DDD & TDD with Entity Framework that you might need to return to them before you proceed with this post. To summarize these posts, I was trying to build testable Models that is based on EF. But EF doesn't support Persistence Ignorance in its first version which make testing it in most cases require a database connection where you can test you code against it. My target was to build a testable models based on EF and that is independent of any underlying data source. read more...

add a comment |category: |Views: 142

tags: another