RSS Feed Subscribe to RSS Feed

 

Blog post summary: Designing data products by Kiran Prakash

This article from Kiran Prakash on martinfowler.com provides “a step-by-step, methodical approach to identifying data products”.

It starts with what a data product is: the smallest valuable unit of analytical data, packaged to deliver meaningful business value. More specifically, it must have these eight characteristics (from  Zhamak Dehghani’s book Data Mesh)…

(more…)

Tags: , , , , ,

Blog post summary: Test Shapes by Martin Fowler

In his post, “On the Diverse And Fantastical Shapes of Testing“, Martin Fowler talks about the Test Pyramid and Test Trophy, but concludes that the proportions suggested by each are much less important that writing fast, reliable, expressive tests with clear boundaries.

(more…)

Tags: , , , , , , ,

Test Doubles: mocks, dummies and stubs

Most classes have collaborators. When unit testing, you usually want to avoid using real implementations of those collaborators to avoid test brittleness and binding/coupling, and instead use Test Doubles: Mocks, Stubs and Doubles.

This article references two existing articles on the subject: Mocks Aren’t Stubs, by Martin Fowler and The Little Mocker, by “Uncle” Bob Martin. I recommend them both.

 

(more…)

Tags: , , , , , , , , , , ,

Software Quality via Unit Testing

The following post is based on a talk I gave at Desert Code Camp 2013. See also the associated slide deck.

Software quality is critical to consistently and continually delivering new features to our users. This articles covers the importance of software quality and how to deliver it via unit testing, Test Driven Development and clean code in general.
Read more

Tags: , , , , , , , , , ,