|
|
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.
|
1 Articles match "Throw","Unit Testing"
|
Related DevelopMentor Courses
|
MORE
|
|
Guerrilla .NET
idioms like iterator methods, the lambda operator, and extension methods Write code that works well with the garbage collector Handle and throw exceptions properly Work with Windows Presentation Foundation (WPF) and XAML Write browser applications using Silverlight Manage long-running processes with Windows Workflow Foundation (WF) Threading and Concurrency Scale your application to multicore machines using threads Debug difficult problems using WinDBG, SOS, and ADPLUS Understand how the .NET This new approach is called ASP.NET MVC and creates code that is much easier to unit test than
DevelopMentor Courses
- Friday, June 12, 2009
|
10 Articles match "Throw","Unit Testing"
|
The Latest from DevelopMentor
|
MORE
|
|
Mock Smells
So let’s refine our nose. Mocks let you test implementation . Anyone who ever gets uppity about the use of stubs, fakes & mocks is paying a lot of attention to this. Since there are literally 1,000’s of way to program the exact same behavior, Unit tests that lock a particular implementation will actually in up “protecting” your code from being refactored . Today, Bob Martin tweeted : unclebobmartin I use mocking frameworks as little as possible. I
Llewellyn Falco
- Saturday, January 16, 2010
Hello JRack
You are up and running with just two lines of code. Simple To Test & Reuse But what if you unit test this code? Whats more we've added approval test support so you can simple approve the resulting html. Put this code into a JUnit test class: public void testHelloWorld() throws Exception { Approvals .approve(new Today Woody Zuill and myself put some of the finishing touches on a port of Rack to Java, and published it to the world. So let's do a quick show-and-tell to show you why we are so excited.
Llewellyn Falco's Approval Tests
- Saturday, September 12, 2009
|
-
|
The Best from DevelopMentor
|
MORE
|
-
Article: Avoiding 5 Common Pitfalls in Unit Testing
entitled Avoiding 5 Common Pitfalls in Unit Testing .
You Avoiding 5 Common Pitfalls in Unit Testing
by When I started out with unit tests, I was enthralled with the promise of ease and
security sustainable software through unit tests started to break down. Llewellyn Falco and I recently wrote an article for DevelopMentor's Developments newsletter
entitled You can read it at the DevelopMentor website:
http://www.develop.com/testingpitfalls
I've
Michael C. Kennedy's Weblog
- Thursday, August 6, 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.
Download Download the library with sample test project here: Kennedy.WorkflowTesting.zip (216
KB) It is not a framework like HarnessIt , NUnit ,
or
Michael C. Kennedy's Weblog
- Sunday, January 18, 2009
-
Article: Avoiding 5 Common Pitfalls in Unit Testing
newsletter entitled Avoiding 5 Common Pitfalls in Unit Testing .
You Avoiding 5 Common Pitfalls in Unit Testing
by When I started out with unit tests, I was enthralled with the promise of ease and
security sustainable software through unit tests started to break down. Llewellyn Falco and I recently wrote an article for DevelopMentor's Developments
newsletter You can read it at the DevelopMentor website:
http://www.develop.com/testingpitfalls
I've
-
Processing Text Files with LINQ
public static IEnumerable<IGrouping<TKey, TElement>> GroupAdjacentBy<TSource, TKey, TElement>(
this IEnumerable<TSource> source,
Func<TSource, TKey> keySelector,
Func<TSource, TElement> elementSelector,
IEqualityComparer<TKey> comparer)
{
if (keySelector == null) throw new ArgumentNullException("keySelector");
if (elementSelector == null) throw new ArgumentNullException("elementSelector");
if (comparer == null) throw new ArgumentNullException("comparer");
TKey lastKey = default(TKey);
List<TElement> elements = null;
foreach
Jason Diamond
- Sunday, September 7, 2008
-
Article: 10 Features in .NET 4.0 that made Me Smile
unit test. throw out a server + contract + address and it’s up and running. I recently wrote another article for DevelopMentor 's
Developments Developments newsletter (not subscribed yet? see top-right of this
page page
Michael C. Kennedy's Weblog
- Wednesday, December 16, 2009
-
Using Excel for VSTS Data Driven Testing
for driving VSTS unit tests which works great if you need a full blown SQL implementation.
However, throw new ArgumentException( "count" );
torpedosLeft -= count;
//
Instruct equivalent unit test might look something like:
[TestMethod]
public A colleague of mine, Kev
Jones Jones , has posted some information on using a detached SQL Server database
for
-
Using Excel for VSTS Data Driven Testing
for driving VSTS unit tests which works great if you need a full blown SQL implementation.
throw new ArgumentException( "count" );
torpedosLeft -= count;
//
equivalent unit test might look something like:
[TestMethod]
A colleague of mine, Kev
Jones , has posted some information on using a detached SQL Server database
|
|
|