Will try to wrapp up my stuff... It base on web2py.test, but I add a test
launcher and extract save pytest output into a text file to be consulted
after the ending of the test... I do include this file as a test report
into my app for the client to see that all tests passed... It works with
selenium/splinter, so test are write with splinter API... So it kind of
"merge" of web2py.test and welcome_augmented because of splinter usage...
It use chromedriver or geckodriver (both tested).

I can share that with you...

I will create a dummy app and a basic test case...

Richard

On Mon, Aug 21, 2017 at 5:26 PM, Dave S <[email protected]> wrote:

>
>
> On Monday, August 21, 2017 at 1:53:51 PM UTC-7, Dave S wrote:
>>
>>
>>
>> On Friday, August 18, 2017 at 10:35:01 AM UTC-7, Carlos Cesar Caballero
>> wrote:
>>>
>>> I have been facing with that issue too, the error is because there are
>>> no logged in user, and the redirect is raised, the main problem with this
>>> approach is that I have been not able to correctly log in a user...
>>>
>>> Being honest, I haven't found a satisfactory way for testing web2py
>>> applications.
>>>
>>> Greetings.
>>>
>>
>>
>> If you're using the webclient tool, as in the book examples, there is
>> provision for logging in clients.  In one of his posts answering a test
>> question, Massimo recommends putting the test code in modules rather
>> than controllers to avoid exposing the test interface.
>>
>> <URL:http://web2py.com/books/default/chapter/29/14/other-recipes>
>> (no anchor on the subheader)
>>
>>
> If you need some end-to-end testing using different environments, there's
> browserling.com:
>
> [clipped from one of my old posts] if you need to do testing of your
> website in a lot of browsers, but don't have that many in your own lab,
> <URL:https://www.browserling.com/>
> might be helpful.  They have an array of target machines with different
> OS/browser combinations and give you a virtual window to them.
>
> To access all the combinations requires subscribing, but the prices aren't
> too bad.  Certainly less than buying 10 used laptops.  For free access, the
> choices are limited and you only get a 3 minute session each try, but even
> that might be helpful.  Additional features include their Bug Hunter tool,
> but maybe you've already been testing with Selenium or another tool.  There
> are also tools for recording and sharing and screenshots.
>
> /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 [email protected].
> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to