Instructions for testing apps that use Motor

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Docs
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Write a little guide to testing Motor / Tornado applications. The main gotcha is you must create a new MotorClient and all dependent database, collection etc. objects anew for each test, or else you'll use the previous test's IOLoop:

      https://gitter.im/tornadoweb/tornado?at=579f5c5b836d2d02115aa7ec

              Assignee:
              Unassigned
              Reporter:
              A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: