<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>David Schneider on foojay.io - Friends of OpenJDK</title><link>https://foojayio.github.io/website/today/author/david-schneider/</link><description>Articles written by David Schneider on foojay.io - Friends of OpenJDK</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 04 Oct 2022 18:24:12 +0000</lastBuildDate><atom:link href="https://foojayio.github.io/website/today/author/david-schneider/index.xml" rel="self" type="application/rss+xml"/><item><title>Am I Testing the Right Way?</title><link>https://foojayio.github.io/website/today/am-i-testing-the-right-way/</link><pubDate>Tue, 04 Oct 2022 18:24:12 +0000</pubDate><guid>https://foojayio.github.io/website/today/am-i-testing-the-right-way/</guid><description>&lt;h2 id="h2-0-two-unit-testing-approaches-explained"&gt;Two unit-testing approaches explained!&lt;/h2&gt;
&lt;p&gt;Pick any topic around testing and there will be at least two very contrary approaches that seem to be at odds.&lt;/p&gt;
&lt;p&gt;One of the many points of discussion around unit testing, and in particular TDD, are the question around what good boundaries for tests are.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;So the question is: Should you unit test each method on your classes or should you only unit test the public interfaces of a given feature or component?&lt;/strong&gt;&lt;/p&gt;</description></item></channel></rss>