Skip navigation.

Archives

Patrick Smacchia's Write-Up On Detecting Untested New/Changed Code

Patrick explains here with more authority than I could how to use new features in NDepend to weed out any untested code that's been added or changed since your last build.

The Next BBST Foundations Class Starts Soon!

The next Black Box Software Testing (BBST) Foundations class will begin July 20th, right on the heels of the CAST Conference , so we expect demand to be high. Scott Barber will be lead instructor with Elaine Conway and myself as co-instructors.

TotT: EXPECT vs. ASSERT

Because the Google C++ Testing Framework was opensourced last week, there will be episodes focusing on it published here in the future. Watch for them. I've reshuffled the schedule to get one out this week.









Google C++ Testing Framework supports two families of assertions with the same interface:

How to Think About the "new" Operator with Respect to Unit Testing

By Miško Hevery


  • Unit Testing as the name implies asks you to test a Class (Unit) in isolation.

  • If your code mixes Object Construction with Logic you will never be able to achieve isolation.

  • In order to unit-test you need to separate object graph construction from the application logic into two different classes