Monthly Archives: January 2016

Which Classes Contain the Most Errors?

I love reading the book Code Complete, by Steve McConnell. The following comes from it, in its Chapter 22: Developer Testing. ………. It’s natural to assume that defects are distributed evenly throughout your source code. If you have an average of 10 defects per 1000 lines of code, you might assume that you’ll have one defect […]

Recommended Approach to Developer Testing

I love reading the book Code Complete, by Steve McConnell. The following comes from it. ………. A systematic approach to developer testing maximizes your ability to detect errors of all kinds with a minimum of effort. Be sure to cover this ground: Test for each relevant requirement to make sure that the requirements have been implemented. […]

Swagger spec becomes the OpenAPI specification

I love working with APIs. The more I do, the more I love them. I have recently been playing with building APIs using Node.js and modules like restify for REST services, and bluebird for JS Promises. One great feature of any API is to also be well documented. Many tools and frameworks exist for that, […]