← Check out TrackMaven.com

Mocking Mistakes

I've discussed the value of using Python's mock library for testing in a couple of previous articles Making a Mockery of Python and Real Life Mocking. Recently, however, a Read more.

Real Life Mocking

In a previous post we discussed a basic use case for Python's fantastic mock library, showing how mock objects are useful for isolating components of an application and creating clean unit tests. By testing against the fake interface provided by a mock object, we can check how our functions are ... Read more.

Making a Mockery of Python

Today we will be talking about mocking. No, not the joke at someone else's expense kind. Mocking is a technique to temporarily replace real parts of our code with fake, simpler parts, so that we can check that the rest of the parts are working as we intend. Here we'll consider some simple use cases for mocking in Python tests, and try to show how this ... Read more.

Building a Testable D3 Charting Application Within Angular.js

Why this post?

  • Most of the examples on d3js.org are much smaller, proof of concept applications which funcion well as a single page app but not necessarily in the reuseable context of a larger, more complex app.

  • This post assumes familiarity with Angular.js' concepts of Controllers, Directives, and Services, Jasmine's testing framework, and ... Read more.