Filtered articles: "Programming"

Filtered articles: "Programming"

Unit Testing Part 4: Testing Private Members

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.

Bild von holger
Unit Testing in Practice

Every 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.

Bild von holger
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:

Bild von helge