Sign In
Dennis "D.C." Dietrich
C#, .NET and the Curse of the Resource Fork - A Tester's Tale
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
Cloud Computing
Code Camp
Code Generation
Debugging
Delegates
EMTF
Events
Exceptions
Garbage Collector
Globalization
Hardware
HTTP
Links
Localization
Mac OS X
MIX
Object Lifetime
Open Source
Quality Assurance
Runtime Code Compilation
Silverlight
Software Engineering
Testing
Usability
User Experience
Archive
Archives
December 2010
(1)
November 2010
(1)
January 2010
(1)
November 2009
(1)
October 2009
(1)
July 2009
(1)
June 2009
(2)
May 2009
(1)
February 2009
(2)
January 2009
(1)
October 2008
(3)
September 2008
(2)
July 2008
(1)
June 2008
(3)
April 2008
(1)
March 2008
(8)
February 2008
(2)
December 2007
(1)
November 2007
(3)
October 2007
(3)
September 2007
(2)
July 2007
(1)
June 2007
(5)
June, 2008
MSDN Blogs
>
Dennis "D.C." Dietrich
>
June, 2008
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Dennis "D.C." Dietrich
Unit testing non-public types using reflection
Posted
over 4 years ago
by
ddietric
1
Comments
Let's say you want to unit test the following class: using System; internal class Foo { internal Foo( object parameter) { if (parameter == null ) throw new ArgumentException (); } internal int ReturnZero() { return...
Dennis "D.C." Dietrich
How would you test a... C# code generator with Visual Studio Team Test
Posted
over 4 years ago
by
ddietric
Introduction I spent some time this week thinking about how to test a code generator that generates C# code and is itself written in C# (so it's once again all about managed code). At first I thought about how to verify the generator output directly...
Dennis "D.C." Dietrich
Compiling code at runtime, C# 3.0 and "Compiler executable file csc.exe cannot be found"
Posted
over 4 years ago
by
ddietric
Compiling code at runtime is incredibly easy thanks to the CSharpCodeProvider class. But as always, there is a catch. Let's say you have the following code snippet somewhere in your shiny new VC# 2008 project: CSharpCodeProvider codeProvider = new...
Page 1 of 1 (3 items)