Re: Re: [web2py] Re: Testing and web2py - especially appadmin

2015-02-19 Thread Richard Vézina
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

Re: Re: [web2py] Re: Testing and web2py - especially appadmin

2015-02-19 Thread Vinicius Assef
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 we

Re: [web2py] Re: Testing and web2py - especially appadmin

2015-02-19 Thread Richard Vézina
Thanks Mark, I like pytest, it is pretty flexible... Richard On Thu, Feb 19, 2015 at 11:01 AM, Mark Graves wrote: > You may also consider pytest bdd. > > Its a pytest plugin that brings in BDD gherkin syntax and executable > specifications. > > A nice complement/alternative to behave. > > > On

Re: [web2py] Re: Testing and web2py - especially appadmin

2015-02-19 Thread Mark Graves
You may also consider pytest bdd. Its a pytest plugin that brings in BDD gherkin syntax and executable specifications. A nice complement/alternative to behave. On Thursday, February 19, 2015 at 9:29:19 AM UTC-6, Richard wrote: > > Thanks! > > You maybe right about TDD being less applicable web

Re: [web2py] Re: Testing and web2py - especially appadmin

2015-02-19 Thread Richard Vézina
Thanks! You maybe right about TDD being less applicable web app... At least in case of controller, for subfunction though input values can be mocked in case of a compute function or a represent function... But doctest maybe enough for that kind of testing... Richard On Wed, Feb 18, 2015 at 3:25

Re: [web2py] Re: Testing and web2py - especially appadmin

2015-02-18 Thread Niphlod
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 wh

Re: [web2py] Re: Testing and web2py - especially appadmin

2015-02-18 Thread Richard Vézina
Hello Niphold, What is the advantage of Behave over Lettuce or other (or why you choose Behave)? You didn't implement Unit test, is it because Vinicius already demonstrate it or because other consideration? Thanks Richard On Mon, Feb 16, 2015 at 5:00 PM, Niphlod wrote: > first to the party

[web2py] Re: Testing and web2py - especially appadmin

2015-02-16 Thread Niphlod
first to the party, latest to the thread. https://github.com/niphlod/welcome_augmented -- 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

[web2py] Re: Testing and web2py - especially appadmin

2015-02-16 Thread Mark Graves
James, Thank you for bringing up this very important issue. I have been setting up a continuous integration environment using open source software (Jenkins) as well as some tutorials, in the manner of the ruby koans package. If you're interested, there are 3 repos right now (They are very ro

[web2py] Re: Testing and web2py - especially appadmin

2015-02-11 Thread Dave S
On Wednesday, February 11, 2015 at 5:20:28 AM UTC-8, James O' Driscoll wrote: > > All. > > I have not been receiving any feedback with regards testing. > You might want to check over on web2py-developers, if the book isn't any help. http://web2py.com/books/default/chapter/29/15/helping-web2py

[web2py] Re: Testing and web2py - especially appadmin

2015-02-11 Thread James O' Driscoll
All. I have not been receiving any feedback with regards testing. So are no tests available for key functions supplied with web2py, i.e. appadmin. If this is the case, it is a definite downside to the framework. Regards, James On Thursday, February 5, 2015 at 1:10:31 PM UTC+10, James O' Drisc