| |
browse.develop.com
Browse.develop.com is a community that was established to collect and
organize valuable web information. Our technical staff have selected and
indexed information and courses that they feel will help you stay
current on best practices across the SDLC.
|
33 Articles match "2009","Unit Testing"
| The Latest from DevelopMentor | MORE | | Article: 10 Features in.NET 4.0 that made Me Smile Code contracts allow you to assert truths about your code as if you are writing a unit test. I recently wrote another article for DevelopMentor 's Developments newsletter (not subscribed yet? see top-right of this page ). This one is entitled. 10 Features in.NET 4.0 that made Me Smile. Read it on the DevelopMentor website: [link]. am republishing it below for you all to enjoy on your RSS readers. Cheers, Michael. 10 Features in.NET 4.0 that made Me Smile. have been reviewing some of our upcoming classes at DevelopMentor this week. bet some of them make you smile too. ll wait. Michael C. Kennedy's Weblog - Wednesday, December 16, 2009 Article: 10 Features in.NET 4.0 that made Me Smile Code contracts allow you to assert truths about your code as if you are writing a unit test. I recently wrote another article for DevelopMentor 's Developments newsletter (not subscribed yet? see top-right of this page ). This one is entitled. 10 Features in.NET 4.0 that made Me Smile. Read it on the DevelopMentor website: [link]. am republishing it below for you all to enjoy on your RSS readers. Cheers, Michael. 10 Features in.NET 4.0 that made Me Smile. have been reviewing some of our upcoming classes at DevelopMentor this week. bet some of them make you smile too. ll wait. Michael C. Kennedy's Weblog - Wednesday, December 16, 2009 Comparing two Uri’s So the following unit test passes even though I would have expected it to fail! This one bit me today a bit unexpectedly. was comparing two Uri’s and was getting unexpected matches between two Uri’s that where quite clearly not the same. Turns out the when comparing Uri’s the Fragment, or anchor or part after the #, is not part of the comparison. TestMethod]. public void TestTwoEqualUrisWithDifferentAnchorShouldNotBeEqual(). {. Note that when comparing uri1 and uri2 they are equal even though they use two different anchor tags. Wasted another bit of time on this piece of trivia. The Problem Solver - Friday, November 13, 2009 | -
| The Best from DevelopMentor | MORE | - Significant Advances in Unit Testing Windows Workflow
This post describes a unit testing library for testing Windows Workflow Foundations. Rather it's a library that can be used in conjunction with any of these testing frameworks. Download the library with sample test project here: Kennedy.WorkflowTesting.zip (216 KB). First a Little History: Last September I posted this teaser entitled Unit Testing Coming to a Workflow Near You. In that previous post, I highlighted what I could determine to be the current state-of-the-art with regard to unit testing workflows, circa September 2008. Michael C. Kennedy's Weblog - Sunday, January 18, 2009 - Article: Avoiding 5 Common Pitfalls in Unit Testing
Llewellyn Falco and I recently wrote an article for DevelopMentor's Developments newsletter entitled Avoiding 5 Common Pitfalls in Unit Testing. Avoiding 5 Common Pitfalls in Unit Testing. When I started out with unit tests, I was enthralled with the promise of ease and security that they would bring to my projects. In practice, however, the theory of sustainable software through unit tests started to break down. Unit Tests have become more trouble than they are worth.". When tests would stop working, we just ignored them. Michael C. Kennedy's Weblog - Thursday, August 6, 2009 - TDD Invades Space Invaders
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. The thing to remember is that all of this was done for the sole purpose of creating a recipe for a scenario we could test. Create a new test project. We made it to step 4 during our presentation (download code below) and estimate another 15 minutes would have had the whole scenario done, tested, and well-factored. Tags: DevelopMentor Screencasts Talks Unit Testing Michael C. Kennedy's Weblog - Wednesday, October 28, 2009 - Test Driven Development, Approval Testing, and a Song – Oh Boy!
So my buddies Dan Gilkerson and Llewellyn Falco have been doing some brilliant, ground breaking work on advancing the state of unit testing and TDD with a concept they call Approval Testing. To highlight the transition from unit testing -> … Continue reading → Agile Video.NET unit testing Michael C. Kennedy's Weblog - Wednesday, January 7, 2009 - Significant Advances in Unit Testing Windows Workflow
This post describes a unit testing library for testing Windows Workflow Foundations.It Rather it’s a library that can be used in conjunction with any of these testing frameworks. is not a framework like HarnessIt, NUnit, or MsTest. Download the library with sample … Continue reading → Agile.NET agile Articles Visual Studio WF Workflow Michael C. Kennedy's Weblog - Sunday, January 18, 2009 - Why Write Unit Tests?
Why Write Unit Tests? I've made a small video to go with this post Approval Tests have allowed us to focus on the parts of testing at a much higher level of abstraction. The benefits of Automated Tests are one of the areas that we can now more clearly appreciate. There are 4 main areas programmers can benefit from using Automated Tests (Unit and otherwise) Specifications Feedback Regression Granularity Let's talk about each of these. Well, you can't do better than a running, failing unit test. First, there is Specifications. - Unblocking assemblies in Windows 7
I just ran into a little problem when attempting to run a Visual Studio unit test on my Windows 7 machine. downloaded log4net.dll and wanted to use it in a project, but when running the unit test I ran into the following error: Failed to queue test run 'Mark@L-ONE 2009-10-11 14:08:38': Test Run deployment issue: The location of the file or directory 'c:usersmarkdocumentsvisual studio 2008projectssourcesdevelopone.myproject.unittestsbindebuglog4net.dll' is not trusted. Turns out that a downloaded file is blocked. The Blomsma Code - Sunday, October 11, 2009 %>
| | |