thank you too ( for web2py :) On 14 Mrz., 21:14, mdipierro <mdipie...@cs.depaul.edu> wrote: > fantastic. I am uploading the solution to trunk. Thank you. > > On Mar 14, 11:44 am, Joschua <cit_corperat...@gmx.net> wrote: > > > I looked into the python documentation and find DocTestFinder: > > >http://pygments.org/demo/3361/?style=fruity > > > My script will print: > > > Finding tests in sample > > 0 > > Finding tests in with_doctests > > 3 > > > Maybie this could be used.. > > > On 13 Mrz., 17:18, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > > I looked into this. It is a python issue. ThedoctestAPI return '' if > > > no test or passed test and return !='' if test fails. web2py cannot > > > easily discriminate if a test is there and passes or there isn't any. > > > If you can find something more about this let me know. > > > > Massimo > > > > On Mar 13, 5:23 am, Joschua <cit_corperat...@gmx.net> wrote: > > > > > yeah, that would be great, because it twist the facts.. ^^ > > > > > On 11 Mrz., 23:15, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > > > > I think that'sdoctestdoing. If there is no actual test but there is > > > > > a docstring, it is assumed "pass". > > > > > It may be web2py's too. I need to check. > > > > > > On Mar 11, 4:05 pm, Joschua <cit_corperat...@gmx.net> wrote: > > > > > > > As example, when you look in the examples app in simple_examples.py > > > > > > and you execute thedoctest, the docstrings in the controller hello4, > > > > > > hello5 and hello6 are recognized as doctests and passed. I think > > > > > > this > > > > > > is a bug (or is thedoctest/ web2py not able to check that, >>>?)
-- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.