So when you create the script makes available for us to test and to use =) _____________________________________________ *Gilson Filho* *Web Developer http://gilsondev.com*
2011/6/11 Pierre Thibault <pierre.thibau...@gmail.com> > 2011/6/11 contatogilson...@gmail.com <contatogilson...@gmail.com> > >> Yes, I understand. But the issue is the use of the gluon. Perform tests is >> fine, the problem is to run the same tests using the libraries and gluon. >> Therefore it has to import them. Hence the creation of this script. >> >> > The code to start web2py is in web2py.py. I'll have to create a similar > code to start it but I want to start it without a gui interface. I also want > to start it at the beginning of the tests and stop it at the end. > > Your strategy is different: you are executing code like if that code was in > a web2py environment. I prefer to use another strategy: I run web2py itself > and I send real http request from a real client. This way, I cannot have > bugs because the mockup environment is different from the real one: I am > testing the real thing. I think it is a better approach. > > > -- > > > A+ > > ------------- > Pierre > My blog and profile > (http://pierrethibault.posterous.com)<http://pierrethibault.posterous.com> > YouTube page > (http://www.youtube.com/user/tubetib)<http://www.youtube.com/user/tubetib> > Twitter (http://twitter.com/pierreth2) <http://twitter.com/pierreth2> > >