jarus / flask-testing

Unittest extensions for Flask
http://pythonhosted.org/Flask-Testing/
Other
502 stars 111 forks source link

Optionally create a single app instance per test case class #116

Open jcomo opened 6 years ago

jcomo commented 6 years ago

Addresses #115

@acidjunk what do you think about this implementation? This flag can be set per TestCase class and otherwise changes nothing (same process for CI without having to run external servers).

acidjunk commented 6 years ago

Will test it this week in our testsuite. Codewise: LGTM, this will probably work just fine.

jcomo commented 6 years ago

@acidjunk did you get a chance to test this out to see if it works for you?

acidjunk commented 6 years ago

Tested it and it works like a Charm. I like the solution with the Mixin, feels Django-ish :)