Why isn't WEB2PY a part of Googles summer of code? Will it be this time?

168 views
Skip to first unread message

Steve Joe

unread,
Oct 6, 2016, 10:29:03 AM10/6/16
to web2py-users
I am seeing that Django, RoR all are on GSOC. Maybe web2py too should be there.

Dave S

unread,
Oct 6, 2016, 3:25:52 PM10/6/16
to web2py-users


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

joseph simpson

unread,
Oct 6, 2016, 5:58:34 PM10/6/16
to web...@googlegroups.com
Develop a standard testing framework for Web2py.

--
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+unsubscribe@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

JorgeH

unread,
Oct 6, 2016, 6:19:42 PM10/6/16
to web2py-users
scalable restful web2py apps, with redis, postgres and mongodb

Dave S

unread,
Oct 7, 2016, 12:26:42 AM10/7/16
to web2py-users

I should also mention it requires at least 1 mentor to be interacting with the gsoc-er.

/dps
 

Mathieu Clabaut

unread,
Oct 7, 2016, 2:46:17 AM10/7/16
to web...@googlegroups.com
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.

Marlysson Silva

unread,
Oct 7, 2016, 7:19:20 AM10/7/16
to web2py-users, mat...@clabaut.net
I'm want know how you build this enviroment to tests with web2py.. in three layers .. Are your project in github?

Mathieu Clabaut

unread,
Oct 7, 2016, 8:28:43 AM10/7/16
to Marlysson Silva, web2py-users
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).

Marlysson Silva

unread,
Oct 7, 2016, 8:35:18 AM10/7/16
to web2py-users, marly...@gmail.com, mat...@clabaut.net
great if you give to do for me ok ..

Anthony

unread,
Oct 7, 2016, 10:38:32 AM10/7/16
to web2py-users
Maybe have a look at https://github.com/viniciusban/web2py.test.

Anthony
To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscribe@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+unsubscribe@googlegroups.com.

Massimo Di Pierro

unread,
Oct 11, 2016, 11:16:13 PM10/11/16
to web2py-users
Other than writing good practice docs, what else is needed?

Massimo Di Pierro

unread,
Oct 11, 2016, 11:16:34 PM10/11/16
to web2py-users, mat...@clabaut.net
If you need any help with the proposal, let me know.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscribe@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+unsubscribe@googlegroups.com.

Mathieu Clabaut

unread,
Oct 12, 2016, 3:20:40 AM10/12/16
to Massimo Di Pierro, web2py-users
We have some time to prepare an application if we decide to go.
Just for us to know, Google advertises that : "Mentors should expect to spend at least 10 hours a week for each student".
It seems a reasonable average to me in order to be useful for the student, but I'm still afraid I'd be overly optimistic in saying I will be able to spare 10 hours a week…

So unless unexpected changes in my life, it is probably not a good idea to promise things I won't be able to cope with.



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.

Massimo DiPierro

unread,
Oct 12, 2016, 9:06:29 AM10/12/16
to Mathieu Clabaut, web2py-users

i cannot commit 10hrs either.. but review the link


To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscribe@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+unsubscribe@googlegroups.com.

Mathieu Clabaut

unread,
Oct 13, 2016, 4:56:26 PM10/13/16
to Marlysson Silva, web2py-users
So as not to wait forever, I did a quick extraction of the needed file in a new github project : https://github.com/matclab/pytest-web2py.wip

I did not retest that everything was working in a new web2py projects. I'll do it later, but i didn't want to postpone the publishing any longer.

There's a lot to do:
- separating things in a clean independant pytest plugin (obiously with some more configuration w.r.t. web2py and applicatins paths),
- writing tests for the pytest-plugin,
- documenting pytest usage,
- documenting test writing (with pitfalls of unittest, use of mocks, …),
- writing more web2py default tests,

Hope it still may be of some use.

Best regards,
-Mathieu

Reply all
Reply to author
Forward
0 new messages