[web2py:12881] Re: [web2py:/] Re: new in trunk DAL unittest

2008-12-03 Thread Yarko Tymciurak
On Wed, Dec 3, 2008 at 12:37 PM, Timothy Farrell <[EMAIL PROTECTED]> wrote: > I don't like that idea. It increases restart time (not significantly > until we get more tests) in a situation where it wouldn't make a difference > the vast majority of the time. > +1and if it's a command line sw

[web2py:12880] Re: [web2py:/] Re: new in trunk DAL unittest

2008-12-03 Thread Timothy Farrell
I don't like that idea.  It increases restart time (not significantly until we get more tests) in a situation where it wouldn't make a difference the vast majority of the time. Some of your DAL tests depend on the existence of the admin app which may not be there and will cause problems for e

[web2py:12879] Re: [web2py:/] Re: new in trunk DAL unittest

2008-12-03 Thread Yarko Tymciurak
I think an option to run tests on startup (not unlike -S for shell) would be good. This would be a good start for contributions - don't ask for a merge until all tests pass (a test merge can make that the first test too). Since deployment (and auto-restart) could be anywhere, I would separate se

[web2py:/] Re: new in trunk DAL unittest

2008-12-03 Thread mdipierro
Perhaps all tests should run automatically every time web2py starts. What do people think about it? Massimo On Dec 3, 9:53 am, Timothy Farrell <[EMAIL PROTECTED]> wrote: > The branch (dal-testing-additions) is committed and I've proposed a merge > into devel. > -tim > mdipierro wrote:ok, thanks