title: asynchronous unit tests with ms test
body: <p>How to test the asynchronous methods in ms unit test leading to successful or failed unit tests</p>
  
  <pre><code>[&lt;TestClass&gt;]
  type TestRequestDataClass () =
  
      [&lt;TestMethod&gt;]
      member this.TestRequestDataAsync() = async {
          let! result = requestDataAsync()
          match result with
          | Ok result -&gt;   Assert.IsTrue(true)
          | Error error -&gt; Debug.WriteLine(error)
                           Assert.IsTrue(false)
      }
  </code></pre>