Pretty soon after starting to write unit tests you will find yourself in a situation where you want to access a private or protected member of the class being tested. This can either happen if you need to check a private field or property or if you’re planning on testing a private method.
Filtered articles: "Programming"
Filtered articles: "Programming"
Unit Testing Part 4: Testing Private Members |
![]() |
Unit Testing in PracticeEvery developer knows unit test, or at least he should know. There is so much literature in books and on the internet that I could not begin to cover every aspect of it. The value of unit testing is undoubted and I won’t argue against it. It looks as easy as 1, 2, 3 when you’re watching a video, listening to a talk or reading a tutorial. And then you’ll dive into real world programming and suddenly there are problems all over the place. |
![]() |
Programming Sins Regarding the Registry (Using the Example of Microsoft Excel)Published by Helge Klein on 08/13/2009 | 2 Comments | 4,592 Views While browsing through the registry I found the following "gem". It illustrates nicely how programmers are not supposed to store settings in the registry: |
![]() |
Most Viewed Posts
| 154,887 Views |
Where is the Hosts File on Windows x64?by Helge Klein (06/04/2009) |
| 82,963 Views |
Deleting a Local User Profile - Not as easy as one Might Assumeby Helge Klein (10/16/2008) |
| 53,020 Views |
Printer Driver Isolation in Windows 7 and Server 2008 R2by Helge Klein (04/08/2009) |
| 44,217 Views |
How to Reduce the Size of Roaming Profilesby Helge Klein (11/17/2008) |
| 32,101 Views |
Aufbau einer KMS Infrastrukturby Thorsten Christoffers (03/19/2009) |
Most Popular Tags
Blog Categories
64-Bit Windows (x64)
Application Delivery
Citrix
Citrix / Terminal Services / Remote Desktop Services
Community
Configuration Manager
Infrastruktur
Presentation Server / XenApp
Profile Migrator
Scripting
sepago
System Center
System Management
Terminal Services
User Profiles
Windows 7
Windows General
Windows Internals
Windows Server 2003
Windows Server 2008






