Not for now.
My intention was to put it on github, but it needs to be separated from my
actual application code which I can not open source (for now).
For the moment, I have  three directories (test_unit, test, test_ui) with a
conftest.py in each allowing to use py.test on those directories. For UI
test, I still have to launch a web2py instance before testing, but it could
probably be integrated into the pytest plugin.
There will be a bit of work for merging the three conftest.py in a single
pytest plugin (and also some good API decisions to be made).
If there is interest, I can try to set up a temporary git repo with my
files (because it will take some time before I can find team to separate
the testing environment from my application).


On Fri, Oct 7, 2016 at 1:19 PM Marlysson Silva <marlyss...@gmail.com> wrote:

> I'm want know how you build this enviroment to tests with web2py.. in
> three layers .. Are your project in github?
>
>
> Em sexta-feira, 7 de outubro de 2016 03:46:17 UTC-3, Mathieu Clabaut
> escreveu:
>
> Hello,
>
>  I'm pondering to volunteer as a mentor for a pytest web2py framework, but
> I'm a bit afraid of my low level of availability.
>
>
>  What I a have in mind is a pytest plugin to allow three level of testing :
> 1. unit testing (with or without view rendering),
> 2. fast WebClient level testing (without javascript),
> 3. slow UI level testing (with javascript enable, via
> selenium+pytest-splinter or something like that).
> And for each level, a set of tests applied to the example application,
> that would contribute to overall web2py testing, the whole thing being run
> in continuous integration environment.
>
> I've already got some code for the 3 levels (which is now integrated with
> the application under test, but which could probably be rewritten with not
> too much difficulty has an independent py.test plugin), mostly working.
>
>  I'd better be not alone as a mentor, so if someone wants to jump in,
> please do not be shy :-) I'd certainly prefer to be there in support than
> to bear alone the whole mentoring role.
>
> -Mathieu
>
> On Thu, Oct 6, 2016 at 11:58 PM joseph simpson <jjs...@gmail.com> wrote:
>
> Develop a standard testing framework for Web2py.
>
> On Thu, Oct 6, 2016 at 12:25 PM, Dave S <snide...@gmail.com> wrote:
>
>
>
> On Thursday, October 6, 2016 at 7:29:03 AM UTC-7, Steve Joe wrote:
>
> I am seeing that Django, RoR all are on GSOC. Maybe web2py too should be
> there.
>
>
> That requires a project proposal with a fairly well defined scope (I've
> seen the Mercurial people dealing with that).  Do you have any  specific
> suggestions?
>
> /dps
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+un...@googlegroups.com.
>
>
> For more options, visit https://groups.google.com/d/optout.
>
> --
> Joe Simpson
> “Reasonable people adapt themselves to the world. Unreasonable people
> attempt to adapt the world to themselves. All progress, therefore,
> depends on unreasonable people.”
> George Bernard Shaw
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+un...@googlegroups.com.
>
>
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to