TDD may be easier with angularjs...

I would say...

Richard

On Tue, Jan 27, 2015 at 5:05 PM, Richard Vézina <ml.richard.vez...@gmail.com
> wrote:

> Yes, that is another issue...
>
> I am thinking more and more to learn Angularjs more then what I really
> know or start using Ractive.js that seems have easier learning curve...
>
> web2py component is great, but I feel really limited in developping
> complex "form" like user interraction for complex data management with
> them... I have made a few thing, but code get messy rappidly... I feel,
> angularjs deep linking missing with web2py component... But I may just
> didn't find how to make it happen with web2py component as well...
>
> TDD may be easier...
>
> Richard
>
> On Tue, Jan 27, 2015 at 4:49 PM, Niphlod <niph...@gmail.com> wrote:
>
>> testing html generation is one-now-more-than-ever-shrinking-part of
>> testing an app.
>> In this particular case, you won't have noticed a thing: the important
>> bits were/are played by javascript interaction.
>>
>> On Tuesday, January 27, 2015 at 10:38:49 PM UTC+1, Richard wrote:
>>>
>>> I would test the fact that html generated work properly, I guess
>>> Selenium is the only way, but if I can interact with html object from
>>> python with someting like HTMLTestRunner (http://tungwaiyip.info/
>>> software/HTMLTestRunner.html)... I never had time to think about test
>>> cases worth doing over generated html... Actually, you maybe right that it
>>> only allow to see if html get generated or compare html generated to an
>>> reference html (mean something like having app serving to test another app
>>> to make sure notting get modify on one hand without the other know it...
>>> Mean a lot of work merging stuff between repo in orther to maintain test
>>> case = a lot of works).
>>>
>>> Could you provide an example of good controller and view codes? Model is
>>> easier...
>>>
>>> In web2py, I am not sure we can really divide each differents part in
>>> M-V-C container... Look how you define validators over model field
>>> definition (I know old raised point).
>>>
>>> Richard
>>>
>>>  --
>> 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