<?xml version="1.0" encoding="UTF-8"?><rss version="0.92">
<channel>
	<title>Paul Butcher</title>
	<link>http://www.paulbutcher.com</link>
	<description></description>
	<lastBuildDate>Sun, 08 Jan 2012 00:33:36 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	<!-- generator="WordPress/3.1.2" -->

	<item>
		<title>ScalaMock 2.2</title>
		<description><![CDATA[I&#8217;ve just released ScalaMock 2.2, with the following improvements over 2.1: Add support for repeated parameters (varargs) Basic parameterised class support ScalaMock is a native Scala mocking framework which, as well as traits (interfaces) and functions, can also mock: Classes Singleton and companion objects (static methods) Object creation (constructor invocation) Polymorphic (type parameterised) methods Classes [...]]]></description>
		<link>http://www.paulbutcher.com/2012/01/scalamock-2-2/</link>
			</item>
	<item>
		<title>ScalaMock 2.1</title>
		<description><![CDATA[I&#8217;ve just released ScalaMock 2.1, with the following improvements over 2.0: Add support for polymorphic (type parameterised) methods Add support for curried methods Fix String constants in Java classes Fix unmocked operators ScalaMock is a native Scala mocking framework which, as well as traits (interfaces) and functions, can also mock: Classes Singleton and companion objects [...]]]></description>
		<link>http://www.paulbutcher.com/2011/11/scalamock-2-1/</link>
			</item>
	<item>
		<title>ScalaMock step-by-step</title>
		<description><![CDATA[ScalaMock (previously Borachio) is a mocking library for Scala. As well as traits (interfaces) and functions, it can also mock: Classes Singleton and companion objects (static methods) Object creation (constructor invocation) Classes with private constructors Final classes and classes with final methods Operators (methods with symbolic names) Overloaded methods This post describes how to setup [...]]]></description>
		<link>http://www.paulbutcher.com/2011/11/scalamock-step-by-step/</link>
			</item>
	<item>
		<title>Scala 2.9.1, sbt 0.10 and ScalaTest step-by-step</title>
		<description><![CDATA[Some while ago, I wrote a post about getting Scala 2.8.0.RC1, sbt and ScalaTest to work together. Well, things have moved on somewhat since then, so I thought it was time to update it. Install sbt 0.10.1 Create the root directory for your project: $ mkdir aproject Create a settings file in this directory called [...]]]></description>
		<link>http://www.paulbutcher.com/2011/09/scala-2-9-1-sbt-0-10-and-scalatest-step-by-step/</link>
			</item>
	<item>
		<title>&#8220;Power&#8221; mocking in Scala with Borachio</title>
		<description><![CDATA[The work described in this post has now been released in ScalaMock. Over the last few weeks, I&#8217;ve been working on major enhancements for Borachio (my native mocking library for Scala) to add facilities similar to those provided by PowerMock for Java. As well as interfaces and functions, it can now mock: Classes Final classes [...]]]></description>
		<link>http://www.paulbutcher.com/2011/07/power-mocking-in-scala-with-borachio/</link>
			</item>
	<item>
		<title>Video: Mocking, Testing and Dependency Injection</title>
		<description><![CDATA[A video of Chetan Padia talking about Mocking, Testing and Dependency Injection at Londroid.]]></description>
		<link>http://www.paulbutcher.com/2011/06/video-mocking-testing-and-dependency-injection/</link>
			</item>
	<item>
		<title>Android, Dependency Injection and Mock Testing</title>
		<description><![CDATA[James Aley has written up a great worked example of using Borachio on Android with RoboGuice for Dependency Injection.]]></description>
		<link>http://www.paulbutcher.com/2011/06/android-dependency-injection-and-mock-testing/</link>
			</item>
	<item>
		<title>Towards typesafe native Scala mocks in Borachio</title>
		<description><![CDATA[The work described in this post has now been released in ScalaMock. Borachio, my native mocking library for Scala, works well enough but has a couple of annoying limitations: It can only mock functions and traits (interfaces). No support for classes, companion objects, constructors, etc. etc. etc. It&#8217;s not typesafe. I&#8217;ve been working to address [...]]]></description>
		<link>http://www.paulbutcher.com/2011/06/towards-typesafe-native-scala-mocks/</link>
			</item>
	<item>
		<title>Mock objects on Android with Borachio: Part 3</title>
		<description><![CDATA[As we saw in part 2 of this series, mocking Android&#8217;s PowerManager service directly is impossible. But there is an alternative approach that gives us something close enough. This article describes that approach. The code of the application described here is checked into GitHub. Given that we can&#8217;t mock PowerManager directly, instead we&#8217;re going to [...]]]></description>
		<link>http://www.paulbutcher.com/2011/03/mock-objects-on-android-with-borachio-part-3/</link>
			</item>
	<item>
		<title>Mock objects on Android with Borachio: Part 2</title>
		<description><![CDATA[In part 1 of this series, I showed how to mock an interface that we created ourselves under Android. That&#8217;s useful, but mocking really pays dividends when mocking OS services—doing so allows us to test our code in isolation, verify that it interacts with the OS correctly and that it handles errors properly. But there&#8217;s [...]]]></description>
		<link>http://www.paulbutcher.com/2011/03/mock-objects-on-android-with-borachio-part-2/</link>
			</item>
</channel>
</rss>

