Sanic: TDD support

Created on 29 Oct 2016  ·  5Comments  ·  Source: sanic-org/sanic

Been using TDD feature on Flask. Might be better if same thing will be added to this jewel.

idea discussion intermediate nice to have

Most helpful comment

After wsgi compliant, it could be integrated with WebTest and exposing fixture for pytest and unittest

All 5 comments

@Code-ReaQtor What features in particular are you looking for?

@seemethere
More like Flask's, usable with python _unittest_ module:
http://flask.pocoo.org/docs/0.11/testing/
https://github.com/mjhea0/flaskr-tdd

Edit:
Simplest test case: testing HTTP methods.

After wsgi compliant, it could be integrated with WebTest and exposing fixture for pytest and unittest

Think I can close this with #431

Was this page helpful?
0 / 5 - 0 ratings