Re: how to produce XML output from a test run?

2009-12-10 Thread Phlip
>    python manage.py test --xml just a note; django-test-extensions broke --verbosity. Google Codesearch sez the fix is in there, but pip didn't have it. I'm now patching this up internally. other than that the package works great! Oh, except the assertions need embellished diagnostics... --

Re: how to produce XML output from a test run?

2009-12-09 Thread Russell Keith-Magee
On Thu, Dec 10, 2009 at 9:02 AM, Phlip wrote: > On Dec 9, 4:52 pm, Russell Keith-Magee wrote: > >> If you want to use an XML test runner instead of the default >> Text-based runner, take a copy of django.test.simple.run_tests() and >> modify to suit your requirements. >> >> I will admit that this

Re: how to produce XML output from a test run?

2009-12-09 Thread Phlip
On Dec 9, 4:52 pm, Russell Keith-Magee wrote: > If you want to use an XML test runner instead of the default > Text-based runner, take a copy of django.test.simple.run_tests() and > modify to suit your requirements. > > I will admit that this isn't a great solution It is because it's easy after

Re: how to produce XML output from a test run?

2009-12-09 Thread Russell Keith-Magee
On Thu, Dec 10, 2009 at 8:24 AM, Phlip wrote: > Djangoes: > > Here's a sketch of an XmlTestRunner. > > http://pypi.python.org/pypi/XmlTestRunner/0.16654 > > The point is to decorate all the test names (and asserts?), and show > them off, probably with XSLT to HTML to a web page. > > To plug a new

how to produce XML output from a test run?

2009-12-09 Thread Phlip
Djangoes: Here's a sketch of an XmlTestRunner. http://pypi.python.org/pypi/XmlTestRunner/0.16654 The point is to decorate all the test names (and asserts?), and show them off, probably with XSLT to HTML to a web page. To plug a new test runner into Django, you apparently add to settings.py: TE

Re[2]: XML output

2007-08-13 Thread Alex Nikolaenkov
Daniel, > I think you're wrong on this one ...unfortunately :) XSLT 2 and XPath > 2 are mighty things... Yeah. Checked. Just a rumor. I was so excited when heard that for the first time. However files can be processed by the third-party application supporting the 2.0 standard (Saxon f.e.) --

Re: XML output

2007-08-13 Thread Daniel Kvasnicka jr.
On Aug 12, 7:18 am, Alex Nikolaenkov <[EMAIL PROTECTED]> wrote: > You wrote 12 ??? 2007 ?., 1:41:39: > > > Alex Nikolaenkov <[EMAIL PROTECTED]> writes: > >> Hello guys, > >> I like just about everything in django, but at this point of me reading > >> django > >> book I can't imagine the way o

Re: XML output

2007-08-13 Thread Daniel Kvasnicka jr.
On Aug 11, 11:41 am, Alex Nikolaenkov <[EMAIL PROTECTED]> wrote: > Hello guys, > I like just about everything in django, but at this point of me reading django > book I can't imagine the way of xmlizing django. > > Is there a way to use XSLT templates instead of standard django template > languag

Re: Re[2]: XML output

2007-08-13 Thread mcburton
> Hehe... I've heard that python already supports XSLT 2 & XPATH 2. It's > very convenient to to use these standards. BTW does python support > XQuery, XInclude, XLink, XPointer and stuff like that? Are you sure about XSLT 2 and XPATH 2? I haven't seen version 2 support in python, only XSLT and X

Re[2]: XML output

2007-08-11 Thread Alex Nikolaenkov
You wrote 11 ??? 2007 ?., 13:55:42: > Alex Nikolaenkov wrote: >> Hello guys, >> I like just about everything in django, but at this point of me reading >> django >> book I can't imagine the way of xmlizing django. > There are serializers in Django: > http://www.djangoproject.com/documentat

Re[2]: XML output

2007-08-11 Thread Alex Nikolaenkov
You wrote 12 ??? 2007 ?., 1:41:39: > Alex Nikolaenkov <[EMAIL PROTECTED]> writes: >> Hello guys, >> I like just about everything in django, but at this point of me reading >> django >> book I can't imagine the way of xmlizing django. >> >> Is there a way to use XSLT templates instead of sta

Re: XML output

2007-08-11 Thread Nic
Alex Nikolaenkov <[EMAIL PROTECTED]> writes: > Hello guys, > I like just about everything in django, but at this point of me reading django > book I can't imagine the way of xmlizing django. > > Is there a way to use XSLT templates instead of standard django > template language? I have some stuf

Re: XML output

2007-08-11 Thread Ivan Sagalaev
Alex Nikolaenkov wrote: > Hello guys, > I like just about everything in django, but at this point of me reading django > book I can't imagine the way of xmlizing django. There are serializers in Django: http://www.djangoproject.com/documentation/serialization/ > Is there a way to use XSLT templ

XML output

2007-08-11 Thread Alex Nikolaenkov
Hello guys, I like just about everything in django, but at this point of me reading django book I can't imagine the way of xmlizing django. Is there a way to use XSLT templates instead of standard django template language? -- Best regards, Alex mailto:[EMAIL PROTECTED]