<?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 Backend in APIs</title>
    <link>https://community.cisco.com/t5/apis/unit-testing-in-backend/m-p/4883179#M488</link>
    <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;I’m wondering how people here have tackled unit testing their DUO Verify backend endpoints?&lt;BR /&gt;
It seems there isn’t a good way to generate a sign response for testing purposes nor is there a mock-sdk. I was thinking of using nock but it also seems that duo is implemented with websockets rather than standard https requests.&lt;BR /&gt;
This is in nodejs and our testing framework is mocha+chai.&lt;BR /&gt;
Any help here is greatly appreciated!&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 24 Aug 2018 18:50:04 GMT</pubDate>
    <dc:creator>geverett1</dc:creator>
    <dc:date>2018-08-24T18:50:04Z</dc:date>
    <item>
      <title>Unit Testing in Backend</title>
      <link>https://community.cisco.com/t5/apis/unit-testing-in-backend/m-p/4883179#M488</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;I’m wondering how people here have tackled unit testing their DUO Verify backend endpoints?&lt;BR /&gt;
It seems there isn’t a good way to generate a sign response for testing purposes nor is there a mock-sdk. I was thinking of using nock but it also seems that duo is implemented with websockets rather than standard https requests.&lt;BR /&gt;
This is in nodejs and our testing framework is mocha+chai.&lt;BR /&gt;
Any help here is greatly appreciated!&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 24 Aug 2018 18:50:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/unit-testing-in-backend/m-p/4883179#M488</guid>
      <dc:creator>geverett1</dc:creator>
      <dc:date>2018-08-24T18:50:04Z</dc:date>
    </item>
  </channel>
</rss>

