jarus/flask-testing — pull request #18 by kalymero (2012-09-07 16:25:38+00:00)
Title: LiveServer

Hi,
i implemented a LiveServer TestCase in order to enable testing via headless browsers or testing framework like Selenium or PhantomJS

It's inspired by https://docs.djangoproject.com/en/dev/topics/testing/#django.test.LiveServerTestCase

It's implemented using multiprocessing:

* on setUp a child is spawned, which run the server (app.run())
* on tearDown the child is terminated

I hope it can be useful.

Regards,
Antonio Sagliocco