Re: [web2py] Script TDD in web2py

2011-06-12 Thread Anthony
Also, kindly please stop posting the same question multiple times -- just ask once. Thank you. On Sunday, June 12, 2011 1:28:17 AM UTC-4, Pierre Thibault wrote: > 2011/6/12 anil manikyam > >> >> >> >>> *i want to update last row in a table in web2py how?* >> >> >> -- >> @n!l m@n!ky@m >> > >

Re: [web2py] Script TDD in web2py

2011-06-11 Thread Pierre Thibault
2011/6/12 anil manikyam > > > >> *i want to update last row in a table in web2py how?* > > > -- > @n!l m@n!ky@m > Hi Anil, I think this is a bit out of subject. Please, open a new conversion with a new subject. -- A+ - Pierre My blog and profile (http://pierrethibault.posterous

Re: [web2py] Script TDD in web2py

2011-06-11 Thread anil manikyam
> *i want to update last row in a table in web2py how?* -- @n!l m@n!ky@m

Re: [web2py] Script TDD in web2py

2011-06-11 Thread Pierre Thibault
2011/6/11 contatogilson...@gmail.com > So when you create the script makes available for us to test and to use =) > > Well, it is better than I thought. I don't even need such a script! Sorry to say that. :-) I can start web2py from Eclipse with code coverage. After that I can start, also from E

Re: [web2py] Script TDD in web2py

2011-06-11 Thread contatogilson...@gmail.com
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 > 2011/6/11 contatogilson...@gmail.com > >> Yes, I understand. But the issue is the use of the

Re: [web2py] Script TDD in web2py

2011-06-11 Thread Pierre Thibault
2011/6/11 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

Re: [web2py] Script TDD in web2py

2011-06-11 Thread 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. _ *Gilson Filho* *Web Developer http:/

Re: [web2py] Script TDD in web2py

2011-06-11 Thread Pierre Thibault
2011/6/11 contatogilson...@gmail.com > Show an example of how you use py.test to perform unit tests on the model > layer and controller. > > _ > *Gilson Filho* > *Web Developer > http://gilsondev.com* > > I have nothing concrete yet. I am just thinking

Re: [web2py] Script TDD in web2py

2011-06-11 Thread contatogilson...@gmail.com
Show an example of how you use py.test to perform unit tests on the model layer and controller. _ *Gilson Filho* *Web Developer http://gilsondev.com*

Re: [web2py] Script TDD in web2py

2011-06-11 Thread contatogilson...@gmail.com
How to tests with web2py. Need importing gluon libs. _ *Gilson Filho* *Web Developer http://gilsondev.com* 2011/6/11 Pierre Thibault > 2011/6/10 contatogilson...@gmail.com > > Hello guys, >> >> I started to create a script to test the scripts that u

Re: [web2py] Script TDD in web2py

2011-06-11 Thread Pierre Thibault
2011/6/10 contatogilson...@gmail.com > Hello guys, > > I started to create a script to test the scripts that use the library > unittest projects web2py. I usually like this: > > - I create the folder *tests* in the project; > - Inside the tests folder create two folders: *models* and *controllers