Search
-
Recent Posts
Recent Activity
Error: Twitter did not respond. Please wait a few minutes and refresh this page.
Categories
Archive
- July 2010
- June 2010
- May 2010
- March 2010
- December 2009
- November 2009
- October 2009
- August 2009
- July 2009
- June 2009
- May 2009
- August 2008
- June 2008
- May 2008
- March 2008
- February 2008
- December 2007
- November 2007
- October 2007
- August 2007
- June 2007
- May 2007
- March 2007
- November 2006
- August 2006
- July 2006
- February 2006
- October 2005
- September 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005
- December 2004
- June 2004
- March 2004
- February 2004
- December 2003
- October 2003
- June 2003
Category Archives: Test
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