Category Archives: Test

Death of goroutines under control

Certainly one of the reasons why many people are attracted to the Go language is its first-class concurrency aspects. Features like communication channels, lightweight processes (goroutines), and proper scheduling of these are not only native to the language but are … Continue reading

Posted in Architecture, Design, Erlang, Go, Project, Snippet, Test | 5 Comments

Interfaces and the design of software

A while ago Martin Pool made a very interesting post on the design of interfaces, inspired by a talk from Rusty Russel from 2003. Besides the interesting scale of interface quality explained there, this is a very insightful comment, often … Continue reading

Posted in Architecture, Article, Test | Leave a comment

Gocheck: A rich testing library for Go

It’s time to release my “side project” which has been evolving over the last several months: Gocheck. I’ve been watching Go for some time, and have been getting more and more interested in the language. My first attempt to write … Continue reading

Posted in Architecture, Go, Project, Test | 4 Comments

Mocker 1.0 for Python released!

After a few years in development, version 1.0 of Mocker is now available! Check out the changes since 0.10.1, the supported features, or go straight to the download page.

Posted in Project, Python, Test | 4 Comments

The forgotten art of error checking

I was just rambling randomly yesterday, in the usual microblogging platforms, about how result checking seems to be ignored or done badly. The precise wording was: It’s really amazing how little attention error handling receives in most software development. Even … Continue reading

Posted in Architecture, Go, Java, Lua, Perl, Python, Ruby, Snippet, Test | 10 Comments

Xpresser – Python library for GUI automation with image matching

In a hurry? Go check it out! The context A while ago I found out about Sikuli, a very interesting project which allows people to script actions in GUIs based on screenshot excerpts. The idea is that you basically take … Continue reading

Posted in Project, Python, Test | 10 Comments

Mocker 0.10 and trivial patch-mocking of existing objects

Mocker 0.10 is out, with a number of improvements! While we’re talking about Mocker, here is another interesting use case, exploring a pretty unique feature it offers. Suppose we want to test that a method hello() on an object will … Continue reading

Posted in Project, Python, Snippet, Test | 2 Comments

Partial stubbing of os.path.isfile() with Mocker

One neat feature which Mocker offers is the ability to very easily implement custom behavior on specific functions or methods. Take for instance the case where you want to pretend to some code that a given file exists, but you … Continue reading

Posted in Project, Python, Snippet, Test | Leave a comment

Mocker for Python released!

After being bored for a long time for the lack of a better infrastructure for creating test doubles in Python, I decided to give it a go. I’m actually quite happy with what came out.. it took me about four … Continue reading

Posted in Project, Python, Test | Leave a comment