Uploaded image for project: 'Motor'
  1. Motor
  2. MOTOR-111

Instructions for testing apps that use Motor

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Docs
    • 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 Unassigned
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: