<?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 Re: How can I perform Unit Tests for Pro based SOEs? in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/how-can-i-perform-unit-tests-for-pro-based-soes/m-p/863250#M5575</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal; text-decoration: none; font-size: medium;"&gt;For functions that are internal to the SOE and not exposed as operations, you would write a new operation in&amp;nbsp;your SOE REST API called "test". This test operation would go through and test all the internal functions that&amp;nbsp;you want to ensure are working and then return a JSON object that indicates whether the implementation tests passed or not. If there are configurable parameters (database or file server names for instance),&amp;nbsp;you would pass those as inputs into the test operation. If you have a server that stores test results,&amp;nbsp;you could directly write to that as well from within the SOE. If you have an enormous number of functions, then&amp;nbsp;you might create an operation for each test suite.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Nov 2019 00:19:00 GMT</pubDate>
    <dc:creator>AmyNiessen</dc:creator>
    <dc:date>2019-11-20T00:19:00Z</dc:date>
    <item>
      <title>How can I perform Unit Tests for Pro based SOEs?</title>
      <link>https://community.esri.com/t5/developers-questions/how-can-i-perform-unit-tests-for-pro-based-soes/m-p/863249#M5574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unit tests for ArcMap based SOEs can be done by initializing the Unit Test Framework with AOInitialize(). How can I perform Unit Tests for Pro based SOEs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2019 13:16:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/how-can-i-perform-unit-tests-for-pro-based-soes/m-p/863249#M5574</guid>
      <dc:creator>RalfSchmidt</dc:creator>
      <dc:date>2019-11-06T13:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: How can I perform Unit Tests for Pro based SOEs?</title>
      <link>https://community.esri.com/t5/developers-questions/how-can-i-perform-unit-tests-for-pro-based-soes/m-p/863250#M5575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal; text-decoration: none; font-size: medium;"&gt;For functions that are internal to the SOE and not exposed as operations, you would write a new operation in&amp;nbsp;your SOE REST API called "test". This test operation would go through and test all the internal functions that&amp;nbsp;you want to ensure are working and then return a JSON object that indicates whether the implementation tests passed or not. If there are configurable parameters (database or file server names for instance),&amp;nbsp;you would pass those as inputs into the test operation. If you have a server that stores test results,&amp;nbsp;you could directly write to that as well from within the SOE. If you have an enormous number of functions, then&amp;nbsp;you might create an operation for each test suite.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2019 00:19:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/how-can-i-perform-unit-tests-for-pro-based-soes/m-p/863250#M5575</guid>
      <dc:creator>AmyNiessen</dc:creator>
      <dc:date>2019-11-20T00:19:00Z</dc:date>
    </item>
  </channel>
</rss>

