<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Unit testing in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unit-testing/m-p/179334#M7265</link>
    <description>&lt;P&gt;I would like to know how others have solved the Problem of Unit Testing an app that uses the Dropbox API without going on the network. I am using the swift, .net and PHP sdk's.&lt;/P&gt;
&lt;P&gt;Can I run a local Dropbox server and get the API's to use that endpoint?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:33:43 GMT</pubDate>
    <dc:creator>dennis s.23</dc:creator>
    <dc:date>2019-05-29T09:33:43Z</dc:date>
    <item>
      <title>Unit testing</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unit-testing/m-p/179334#M7265</link>
      <description>&lt;P&gt;I would like to know how others have solved the Problem of Unit Testing an app that uses the Dropbox API without going on the network. I am using the swift, .net and PHP sdk's.&lt;/P&gt;
&lt;P&gt;Can I run a local Dropbox server and get the API's to use that endpoint?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:33:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unit-testing/m-p/179334#M7265</guid>
      <dc:creator>dennis s.23</dc:creator>
      <dc:date>2019-05-29T09:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Unit testing</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unit-testing/m-p/179335#M7266</link>
      <description>&lt;P&gt;You should be swapping out the Dropbox parts for mocks, which return ideal responses - you shouldnt ever test more code than absolutely necessary in a unit test, and that includes third party libraries or integrations.&lt;/P&gt;
&lt;P&gt;If the Dropbox part fails, thats an entirely different ball game, but you should be assuming the response your unit tests requires, which means successes and failures as you test those parts of your code.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 01:05:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unit-testing/m-p/179335#M7266</guid>
      <dc:creator>Richard P.</dc:creator>
      <dc:date>2016-04-28T01:05:19Z</dc:date>
    </item>
  </channel>
</rss>

