Thanks Mark, I like pytest, it is pretty flexible...
Richard On Thu, Feb 19, 2015 at 11:01 AM, Mark Graves <mgrave...@gmail.com> 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 Thursday, February 19, 2015 at 9:29:19 AM UTC-6, Richard wrote: >> >> 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 PM, Niphlod <nip...@gmail.com> 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+un...@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.