<?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 How to do Unit/TDD/BDD testing in WAB in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-do-unit-tdd-bdd-testing-in-wab/m-p/172394#M4793</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am looking for documentation for creating unit test/tdd/bdd with webappbuilder. We have exported the app created using webappbuilder with our custom widgets and hosted it as a website on IIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have got some success with Mocha/expect but i can only test my code which i have refactor up to certain point after that I need to mock object that require me to initialize classes found in WAB Dev edition to test widgets.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would love to get a sample code or documentation explaining how it's done or how ESRI does it. I have found that other folks have similar question. So this will help a lot of folks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Trushar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jan 2018 13:31:30 GMT</pubDate>
    <dc:creator>TrusharMistry2</dc:creator>
    <dc:date>2018-01-17T13:31:30Z</dc:date>
    <item>
      <title>How to do Unit/TDD/BDD testing in WAB</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-do-unit-tdd-bdd-testing-in-wab/m-p/172394#M4793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am looking for documentation for creating unit test/tdd/bdd with webappbuilder. We have exported the app created using webappbuilder with our custom widgets and hosted it as a website on IIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have got some success with Mocha/expect but i can only test my code which i have refactor up to certain point after that I need to mock object that require me to initialize classes found in WAB Dev edition to test widgets.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would love to get a sample code or documentation explaining how it's done or how ESRI does it. I have found that other folks have similar question. So this will help a lot of folks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Trushar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2018 13:31:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-do-unit-tdd-bdd-testing-in-wab/m-p/172394#M4793</guid>
      <dc:creator>TrusharMistry2</dc:creator>
      <dc:date>2018-01-17T13:31:30Z</dc:date>
    </item>
  </channel>
</rss>

