DotNetShoutout - Stories tagged with TDD
3
shouts

ParallelWork: Feature rich multithreaded fluent task execution library for WPF

posted by omaralzabiromaralzabir 2 days, 12 hours, 8 minutes ago
Sunday, March 14, 2010 7:07:24 AM GMT
ParallelWork: Feature rich multithreaded fluent task execution library for WPF ParallelWork is an open source free helper class that lets you run multiple work in parallel threads, get success, failure and progress update on the WPF UI thread, wait for work to complete, abort all work (in case of shutdown), queue work to run after certain time, chain parallel work one after another. It’s more convenient than using .NET’s BackgroundWorker because you don’t have to declare one... (more)
category: UX | clicked: 4 | comment | | source: msmvps.com
tags: BDD, C# 3.5, TDD, WPF 3.5
5
shouts

Programming Practices: Part 2 – Thoughts on TDD - Brian Harry

published 4 days, 6 hours, 22 minutes ago posted by jantujantu 5 days, 9 hours, 57 minutes ago
Friday, March 12, 2010 12:53:20 PM GMT Thursday, March 11, 2010 9:18:13 AM GMT
Well, it seems the last post wasn’t too controversial. Let me try something that might be a bit more controversial. Heck, it might even get some people down right agitated with me but that’s OK, disagreement is a useful tool to drive clarity and understanding. I don’t like Test Driven Development. I don’t just not like it, I think it’s a bad idea. How’s that for an inflammatory statement? Probably gonna make the cool kids black ball me :) I don’t sp... (more)
category: Smart Client | clicked: 44 | comment | | source: blogs.msdn.com
tags: TDD, Visual Studio
3
shouts

Unit Testing and Integration Testing in real projects

posted by omaralzabiromaralzabir 7 days, 12 hours, 54 minutes ago
Tuesday, March 09, 2010 6:21:07 AM GMT
Unit Testing and Integration Testing in real projects I am yet to find a proper sample on how to do realistic Test Driven Development (TDD) and how to write proper unit tests for complex business applications, that gives you enough confidence to stop doing manual tests anymore. Generally the samples show you how to test a Stack or a LinkedList, which is far simpler than testing a typical N-tier application, especially if you are using Entity Framework or Linq to SQL or some ORM in data access laye... (more)
category: Agile | clicked: 10 | comment | | source: weblogs.asp.net
tags: BDD, Integration Test, TDD, Unit Test
3
shouts

Do Unit Test and Integration Test from same test code using Conditional Compilation - Omar AL Zabir blog on ASP.NET Ajax and .NET 3.5

posted by omaralzabiromaralzabir 7 days, 13 hours, 3 minutes ago
Tuesday, March 09, 2010 6:11:52 AM GMT
Do Unit Test and Integration Test from same test code using Conditional Compilation You usually write unit test and integration test code separately using different technologies. For example, for unit test, you use some mocking framework like Moq to do the mocking. For integration test, you do not use any mocking, just some test classes that hits some service or facade to do end-to-end integration test. However, sometimes you see that the integration and unit test are more or less same, they test the sa... (more)
category: Agile | clicked: 3 | comment | | source: weblogs.asp.net
tags: BDD, C#, Integration Test, TDD, Unit Test
6
shouts

Primes Kata

published 12 days, 7 hours, 44 minutes ago posted by http://uri-lavi.pip.verisignlabs.com/http://uri-lavi.pip.verisignlabs.com/ 12 days, 21 hours, 25 minutes ago
Thursday, March 04, 2010 11:31:14 AM GMT Wednesday, March 03, 2010 9:50:21 PM GMT
One of the key aspects of a Software Craftsmanship is constant practice. Kata (from Martial Arts) is one form of such practice. The notion of a Code Kata was first introduced by Dave Thomas and can be viewed as: Practice of the same methods, solutions and activities to a perfection. Practice of the same problem, tackling it each time from a different angle or with a different solution. Below is a video recording of a C# TDD Primes Kata... (more)
category: Agile | clicked: 44 | comment | | source: urilavi.blogspot.com
tags: Agile, C#, Kata, TDD
8
shouts

Unit testing and mocking internal interfaces with RhinoMocks

published 20 days, 23 hours, 37 minutes ago posted by http://roboblob.myopenid.com/http://roboblob.myopenid.com/ 22 days, 15 minutes ago
Tuesday, February 23, 2010 7:37:51 PM GMT Monday, February 22, 2010 7:00:33 PM GMT
Unit testing and mocking internal interfaces with RhinoMocks Im working on a project that i want to cover with unit tests as much as possible. Problem is that most of the things i need to test are kept internal inside some libraries. Im not the kind of purist that will avoid unit testing internal classes. If its some very important code i want to test it even if its internal. Another case when i want to access internal classes is when i want to te... (more)
category: Agile | clicked: 50 | comment | | source: blog.roboblob.com
tags: .NET, C#, Mocking, Rhino, Rhino Mocks, TDD, unit testing, Unit Test
8
shouts

RhinoMocks Stub not retaining value when property shadowed on inheriting interface | Samuel Moura's DevUX

published 34 days, 8 hours, 46 minutes ago posted by smourasmoura 35 days, 8 hours ago
Wednesday, February 10, 2010 10:29:29 AM GMT Tuesday, February 09, 2010 11:15:41 AM GMT
I was still fixing the tests that had failed after upgrading to Castle.Windsor 2.1 and RhinoMocks 3.6 when I stumble on this one. Basically I had a unit test that passed before I upgraded and as soon as I switched to using the most recent versions of both libraries the test failed.The issue manifested on a stub for an Interface... (more)
category: Agile | clicked: 33 | comment | | source: sweux.com
tags: CastleWindsor, rhinomocks, TDD, Tips
7
shouts

BadImageFormatException when debugging interface mocked with RhinoMocks

published 34 days, 8 hours, 46 minutes ago posted by smourasmoura 35 days, 8 hours, 5 minutes ago
Wednesday, February 10, 2010 10:29:29 AM GMT Tuesday, February 09, 2010 11:10:19 AM GMT
SwitRecently I updated the project I am working on to Castle.Windsor version 2.1. Since we are using an abstraction over the container (for resolving purposes only), we had to adapt it to conform with the new restrictions for Resolving dependenciescher (more)
category: Agile | clicked: 36 | comment | | source: sweux.com
tags: CastleWindsor, rhinomocks, TDD, UnitTesting
11
shouts

Setting Up a Database For Integration Tests

published 66 days, 6 hours, 46 minutes ago posted by http://micahlmartin.myopenid.com/http://micahlmartin.myopenid.com/ 69 days, 5 hours, 35 minutes ago
Saturday, January 09, 2010 12:29:34 PM GMT Wednesday, January 06, 2010 1:40:37 PM GMT
Warning There is a lot of code in this post. Nothing too crazy or fancy just a LOT of code. It's too much of a pain to create and upload a project file so I've just pasted in. If for some reason you are having trouble getting the code off the page just shoot me an email and I'll send it to you. Also, I'm using MSTest so if that bothers you then please move along.Purpose I've always avoided doing full integration tests because it's always such a pain to get a db setup and in working order each time you ... (more)
category: SQL | clicked: 55 | 2 comments | | source: www.codingcontext.com
tags: integration tests, TDD
5
shouts

Mocking framework comparison - Being Cellfish

published 71 days, 5 hours, 58 minutes ago posted by jantujantu 72 days, 5 hours, 5 minutes ago
Monday, January 04, 2010 1:17:35 PM GMT Sunday, January 03, 2010 2:09:53 PM GMT
As you may know I think mocks should be used quite carefully. But as I've pointed out before I think you should use the best tool available and that means to use a mocking framework sometimes. One thing I've never really liked with the typical mocking framework is how it requires you to learn a new API to setup the test double. And if you don't know the API I think a typical mock setup can be very confusing if you see the code for the first time. However if you choose Stubs as your framework you get the ... (more)
category: Architecture | clicked: 71 | comment | | source: blogs.msdn.com
tags: BDD, TDD
4
shouts

That is testability, not Test Driven Development!

Saturday, December 19, 2009 11:51:04 PM GMT
These are reflections on the blog post on the ADO.Net team blog Walkthrough: Test-Driven Development with the Entity Framework 4.0.. I talk a bit about testability versus Test Driven Development to avoid some of the confusion that seems to be growing around the two topics. (more)
category: Architecture | clicked: 8 | comment | | source: geekswithblogs.net
tags: Design, TDD, Testability, unit testing
10
shouts

ADO.NET team blog : Walkthrough: Test-Driven Development with the Entity Framework 4.0

published 86 days, 3 hours, 31 minutes ago posted by https://me.yahoo.com/mosessaur#7fe0dhttps://me.yahoo.com/mosessaur#7fe0d 87 days, 19 hours, 14 minutes ago
Sunday, December 20, 2009 3:44:28 PM GMT Saturday, December 19, 2009 12:00:49 AM GMT
Walkthrough: Test-Driven Development with the Entity Framework 4.0Published 17 December 09 02:15 PM | dpblogs  This walkthrough will demonstrate how to use the new Plain Old CLR Object (POCO) support in Entity Framework 4.0 to develop an application using Test-Driven Development (TDD). In the first release of EF, entity classes had to inherit from EntityObject or implement one of the EF interfaces, which meant your classes had to have direct dependencies on the EF. As a result, writing unit tests tha... (more)
category: Architecture | clicked: 67 | comment | | source: blogs.msdn.com
tags: EF4, entityframework4, TDD
8
shouts

ADO.NET team blog : Test-Driven Development Walkthrough with the Entity Framework 4.0

published 87 days, 9 hours, 1 minute ago posted by https://me.yahoo.com/mosessaur#7fe0dhttps://me.yahoo.com/mosessaur#7fe0d 87 days, 19 hours, 16 minutes ago
Saturday, December 19, 2009 10:14:29 AM GMT Friday, December 18, 2009 11:59:39 PM GMT
Test-Driven Development Walkthrough with the Entity Framework 4.0Published 17 December 09 02:14 PM | dpblogs  This walkthrough will demonstrate how to use the new Plain Old CLR Object (POCO) support in Entity Framework 4.0 to develop an application using Test-Driven Development (TDD). In the first release of EF, entity classes had to inherit from EntityObject or implement one of the EF interfaces, which meant your classes had to have direct dependencies on the EF. As a result, writing unit tests that... (more)
category: Architecture | clicked: 101 | comment | | source: blogs.msdn.com
tags: EF4, entityframework4, TDD
6
shouts

The Code Junkie: So you write unit tests, but do you really TDD?

posted by http://selfinflicted.myopenid.com/http://selfinflicted.myopenid.com/ 118 days, 21 hours, 1 minute ago
Tuesday, November 17, 2009 10:14:40 PM GMT
Many developers are claiming to be TDD practitioners, without really understanding the differences between Test-Driven Development and unit testing. Somewhere along the line the definition of TDD has gotten lost and it is time to set the record straight; just because you write unit tests does not mean you practice TDD. (more)
category: Agile | clicked: 3 | comment | | source: www.thecodejunkie.com
tags: TDD, Testing
13
shouts

Selective Unit Testing – Costs and Benefits « Steve Sanderson’s blog

published 127 days, 7 hours, 1 minute ago posted by https://me.yahoo.com/mosessaur#7fe0dhttps://me.yahoo.com/mosessaur#7fe0d 129 days, 2 hours, 43 minutes ago
Monday, November 09, 2009 12:14:23 PM GMT Saturday, November 07, 2009 4:32:23 PM GMT
I’ve been writing unit tests regularly for 2-3 years now, and doing full-blown test-driven development (TDD) full time for about the last year. Throughout this whole time, I keep noticing the same thing over and over:For certain types of code, unit testing works brilliantly, flows naturally, and significantly enhances the quality of the resulting code.But for other types of code, writing unit tests consumes a huge amount of effort, doesn’t meaningfully aid design or reduce defects at all, and makes the c... (more)
category: Foundation | clicked: 38 | comment | | source: blog.codeville.net
tags: TDD, unit testing, Unit Tests, UnitTesting, UnitTests
8
shouts

TDD Space Invaders Video and Downloads

published 131 days, 8 hours, 45 minutes ago posted by http://mkennedy66996693.myopenid.com/http://mkennedy66996693.myopenid.com/ 131 days, 17 hours, 53 minutes ago
Thursday, November 05, 2009 10:30:22 AM GMT Thursday, November 05, 2009 1:22:07 AM GMT
Recently Llewellyn Falco and I did a webcast for DevelopMentor where we demonstrated some TDD techniques and introduced Approval Tests. We let the audience choose our project and they chose Space Invaders. It was all great fun. Now the videos and MP3 streams are online and available for download.    Be sure to check out the write-up we did afterward where we talked about the tools and gave you a chance to try it for yourself:    TDD Space Invaders Write-up You can also watch two other, higher leve... (more)
category: Agile | clicked: 27 | comment | | source: www.michaelckennedy.net
tags: DevelopMentor, ReSharper, TDD, Unit Test, unit testing, Unit Tests
11
shouts

TDD Invades Space Invaders

published 137 days, 18 hours, 35 minutes ago posted by http://mkennedy66996693.myopenid.com/http://mkennedy66996693.myopenid.com/ 138 days, 21 hours, 51 minutes ago
Friday, October 30, 2009 12:40:16 AM GMT Wednesday, October 28, 2009 9:24:18 PM GMT
A joint post by Llewellyn Falco and Michael Kennedy As a follow-up to our "Avoiding 5 Common Pitfalls in Unit Testing" article we did a webcast where we took a problem from the audience and solved it live and unrehearsed on stage. These kinds of performances are always a risk but that's part of what makes them fun. Of course, the question is could we have done it better? Here's your chance to try it for yourself (details below). The Problem: Our viewers chose to have us build the game Space I... (more)
category: Agile | clicked: 46 | comment | | source: www.michaelckennedy.net
tags: Games, TDD, Unit Test, unit testing
8
shouts

Attend My Live, Free TDD Webinar with Llewellyn Falco and Myself at 10am Tomorrow!

published 140 days, 6 hours, 16 minutes ago posted by http://mkennedy66996693.myopenid.com/http://mkennedy66996693.myopenid.com/ 140 days, 19 hours, 43 minutes ago
Tuesday, October 27, 2009 12:59:23 PM GMT Monday, October 26, 2009 11:32:17 PM GMT
Tomorrow at 10am Pacific time Llewellyn Falco and I will be giving a live, unscripted, and no safety-net demonstration of Test Driven Development (TDD) as part of the DevelopMentor webinar series (this particular series is a 3-part series on Agile development). We already have a bunch of attendees registered. But we have room for as many of you who are interested in agile and TDD. Sign up here:    http://bit.ly/dm-tdd-m-and-l In addition to core TDD techniques, you will see how an amazing techniqu... (more)
category: Agile | clicked: 44 | comment | | source: www.michaelckennedy.net
tags: Screencast, TDD, WebCast
13
shouts

Thinking about a "Step 2" for Context/Specification-style testing

published 153 days, 10 hours, 31 minutes ago posted by http://olson.jeffery.myopenid.com/http://olson.jeffery.myopenid.com/ 155 days, 6 hours, 21 minutes ago
Wednesday, October 14, 2009 8:44:41 AM GMT Monday, October 12, 2009 12:54:30 PM GMT
This is a post about the evolution of my thinking and practice regarding Context/Specification-style test composition. I’d like to review my understanding and approach to it over time and some of the frictions that I encountered after the initial re-alignment of thinking that occurs when changing gears to this style of TDD, as opposed to more orthodox varieties. There may be nothing new here for some practitioners of TDD (if that’s you: sorry for wasting your time); but for others who have made/are makin.. (more)
category: Architecture | clicked: 94 | comment | | source: olsonjeffery.github.com
tags: BDD, MSpec, TDD
10
shouts

Visoft, Inc. Blogs | Book Review – Manning The Art of Unit Testing

posted by dwhitedwhite 162 days, 6 hours, 41 minutes ago
Monday, October 05, 2009 12:34:18 PM GMT
To some, “unit testing” is a four letter word.  While it’s unfortunate, the feeling is justified by poor experiences, lack of knowledge, and so on.  Personally, I’ve had mixed experiences with unit tests.  I’m sure many of you have encountered similar situations.  After reading The Art of Unit Testing by Roy Osherove, I feel far more confident in not only understanding unit tests, but also the best practices for implementation.  If this book had only been written years ago, maybe all those poor unit test... (more)
category: Agile | clicked: 5 | comment | | source: blogs.visoftinc.com
tags: Book Review, TDD, unit testing
Previous 1 2 3 4 5 6 7 8 Next