Main content

unit testing

Created on Tuesday, 23 April 2013 / Coding
Tags: c/c++, software development, unit testing
I've always followed the mantra that branch points in unit tests are bad practice, but I'd never tried to give specific reasons why it is bad practice. If you think about it, it is actually quite easy ... [ +++ ]
Created on Sunday, 17 June 2012 / Coding
Tags: xml, unit testing, design pattern, c/c++
Previously, I wrote about a design pattern for unit-testable event-based (SAX) parsers. At that time, I had used the pattern for a couple of parsers, and found it to be very successful. Since that time, ... [ +++ ]
Created on Thursday, 10 May 2012 / Coding
Tags: software development, design pattern, unit testing, c/c++, xml
Note: Some improvements to this article are described in a later blog post. Read this one first, then head on over to the later blog post. Recently, I've been looking a parsing some XML documents using ... [ +++ ]
Created on Monday, 30 April 2012 / Coding
Tags: c/c++, c++11, unit testing
Recently I've been refactoring code to make it unit testable. Due to the way the code words, I needed to create a stub that included some unit test assertions. In fact, I needed a lot of very similar stubs, ... [ +++ ]
by Aixeena Joomla Extensions