<?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 vs Integration Testing in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unit-vs-Integration-Testing/m-p/75076#M46762</link>
    <description>&lt;P&gt;Hello everyone,,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;I am always confused about the difference between these two. If the chunk below was the app, how would a unit test look like? And an integration test?&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;def add(a, b):
    return a + b

def mult(a, b):
    return a * b

if __name__ == "__main__":
    mult(10, add(2, 5))&lt;/PRE&gt;</description>
    <pubDate>Thu, 18 Feb 2021 08:18:23 GMT</pubDate>
    <dc:creator>Hinata</dc:creator>
    <dc:date>2021-02-18T08:18:23Z</dc:date>
    <item>
      <title>Unit vs Integration Testing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unit-vs-Integration-Testing/m-p/75076#M46762</link>
      <description>&lt;P&gt;Hello everyone,,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;I am always confused about the difference between these two. If the chunk below was the app, how would a unit test look like? And an integration test?&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;def add(a, b):
    return a + b

def mult(a, b):
    return a * b

if __name__ == "__main__":
    mult(10, add(2, 5))&lt;/PRE&gt;</description>
      <pubDate>Thu, 18 Feb 2021 08:18:23 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unit-vs-Integration-Testing/m-p/75076#M46762</guid>
      <dc:creator>Hinata</dc:creator>
      <dc:date>2021-02-18T08:18:23Z</dc:date>
    </item>
  </channel>
</rss>

