I study a bit each of your demo app, and they pretty much use a similar
approach.

So for making test execution under web2py environnement, I think we are
fine...

I see flaw in mocking inside web2py (Niphold as some kind of mocking
functions), I guess a default mocking module python file could be a good
thing.

Also, I don't really know by which end starting testing my app...

Here ideas :
http://thenextweb.com/apps/2013/11/28/guide-testing-web-app-steps-approach-testing-get-sessions/
http://www.softwaretestinghelp.com/web-application-testing/

We could implement a basic testing library that demostrate the bare minimum
test that someone should do over his app.

I will futher read your testing demonstration and try to implement some
test and make PR.

:)

Richard


On Thu, Feb 19, 2015 at 11:36 AM, Vinicius Assef <
list-web...@viniciusban.eu.org> wrote:

> Hi guys.
>
> I've been too busy in the past months and I couldn't focus on web2py.test.
>
> I'm planning to getting back to it next month.
>
>
> ---- On Wed, 18 Feb 2015 17:25:11 -0300 Niphlod  wrote ----
> >the idea behind the project was to have BDD done. Vinicius was covering
> already unittesting. IMHO web applications (or, at least, the ones I code)
> rely on too many pieces you can't test without a live browser. Once that
> concept sinks in, you'll quickly realize that unittesting is too limited
> when coupled with a real browser, hence BDD.
> >Behave is just one library, and IMHO is more usable than Lettuce (or was
> at the time at least), but given it is/was a project from scratch, it's not
> an hard requirement, more of a personal choice.
> >
> >
> >
> >
> > --
> > 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.
> >
>
> --
> 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.
>

-- 
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