Test Driven Development: Mocks
The importance of dummies, mocks, stubs, and fakes is fundamental to test-driven development.
Subject 9 sheets
The importance of dummies, mocks, stubs, and fakes is fundamental to test-driven development.
Why is it important to write automated tests? I’m asked this question far too often by software engineering teams. The usual response I receive after asking someone why they don’t write tests usually is because “I don’t …
There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The …
As of the time of this writing, Xcode does not offer a framework project to for Cocoa Touch (only Cocoa). Apple’s primary reasons behind this decision are security, performance, and memory footprint. As such Xcode limits …
I wrote a post some time back on the value of singletons in a garbage collected language as an important component of scalability. The majority of my work these days targets Apple iOS (opens in a new window) devices and …
What do I mean by elegance? Most software engineers equate elegance to efficiency. Still some equate elegance to robustness. Others choose correctness. All are variables in the equation of elegance. Many other variables …
Recent discussions with colleagues regarding use of MethodImplOptions.Synchronized (opens in a new window) prompted me to discuss its implications. Let’s begin with formal documentation. The …
In many ways software engineering strives to strike a balance between testability, scalability (and performance), execution logic and symmetry (in the case of distributed algorithms), and semantics (easily understood and …