librelist archives

« back to archive

Utility for BDD/functional testing of Flask apps

Utility for BDD/functional testing of Flask apps

From:
Peter Hudec
Date:
2013-07-31 @ 17:45
I created a simple utility to simplify functional testing of Flask apps 
running as live development server.
https://github.com/peterhudec/testliveserver
There are examples of usage with Selenium + Unittest, PyTest and Lettuce.
It's just an idea and the implementation is quite naive.
There is no documentation yet.

I would love to hear your thoughts and suggestions.

Peter Hudec

Re: [flask] Utility for BDD/functional testing of Flask apps

From:
Smartboy
Date:
2013-08-01 @ 02:15
Is this for evaluating that your javascript works along with your HTML? I
feel that this is mixing two separate pieces that should be tested
separately. This ( http://flask.pocoo.org/docs/testing/ ) already exists
for testing the API side, and Selenium exists for frontend tests.


On Wed, Jul 31, 2013 at 10:45 AM, Peter Hudec <peterhudec@peterhudec.com>wrote:

>  I created a simple utility to simplify functional testing of Flask apps
> running as live development server.
> https://github.com/peterhudec/testliveserver
> There are examples of usage with Selenium + Unittest, PyTest and Lettuce.
> It's just an idea and the implementation is quite naive.
> There is no documentation yet.
>
> I would love to hear your thoughts and suggestions.
>
> Peter Hudec
>