<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Ocunit on Angus Thinks</title>
		<link>https://www.malcolmhardie.com/weblogs/angus/tags/ocunit/</link>
		<description>Recent content in Ocunit on Angus Thinks</description>
		<generator>Hugo</generator>
		<language>en</language>
		
		
		
			<copyright>@2026 Angus Hardie</copyright>
		
		
			<lastBuildDate>Wed, 15 Nov 2006 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://www.malcolmhardie.com/weblogs/angus/tags/ocunit/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Writing Unit tests for Cocoa</title>
				<link>https://www.malcolmhardie.com/weblogs/angus/posts/2006/11/15/writing-unit-tests-for-cocoa/</link>
				<pubDate>Wed, 15 Nov 2006 00:00:00 +0000</pubDate>
				<guid>https://www.malcolmhardie.com/weblogs/angus/posts/2006/11/15/writing-unit-tests-for-cocoa/</guid>
				<description>&lt;p&gt;I realized something interesting today.&lt;/p&gt;&#xA;&lt;p&gt;I use unit testing to (hopefully) improve the quality of my code.&lt;/p&gt;&#xA;&lt;p&gt;With Java I use &lt;a href=&#34;http://www.junit.org/&#34; class=&#34;link-external&#34; rel=&#34;noopener&#34;&gt;JUnit&lt;/a&gt;&#xA;. With native Mac stuff I use &lt;a href=&#34;http://www.sente.ch/software/ocunit/&#34; class=&#34;link-external&#34; rel=&#34;noopener&#34;&gt;OCUnit&lt;/a&gt;&#xA;.&lt;/p&gt;&#xA;&lt;p&gt;One really clever thing about OCUnit that I realized today is that if you have several SenTestCase subclasses, each with multiple tests in it, you can put all of them into one XCode target and OCUnit will automatically run them as suites in one test run. This means that you get a summary of all of the tests at the end.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
