Re: [Standards] interop testing effort

2009-05-19 Thread Artur Hefczyc

Hi,


These are just simple text files describing what has to be sent
to the server and what is expected as a response. The TTS is
written in Java and part of the TTS code is a loader for these .cot
files.


Do you parse those text strings and compare the resulting XML  
elements?
Otherwise, this will be pretty limited to one server, as it will  
even fail if you use
" instead of ' or vice versa. It's still standard-compliant then,  
but different.


Maybe it's my fault as I said "these are just simple text files".
In some way they are but they contain XML stanza to send and receive
and the stanza contain also variables which can be replaced based on
some configuration settings.

What exactly happens with these files is just matter of implementation  
and I
didn't want to talk about implementation. But in case of Tigase Test  
Suite, yes

they are loaded and parsed as XML elements. So the comparison is done
between 2 XML elements not between 2 strings of characters.

Artur
--
Artur Hefczyc
http://www.tigase.org/
http://artur.hefczyc.net/



Re: [Standards] interop testing effort

2009-05-19 Thread Jonathan Schleifer

Am 19.05.2009 um 09:44 schrieb Artur Hefczyc:


These are just simple text files describing what has to be sent
to the server and what is expected as a response. The TTS is
written in Java and part of the TTS code is a loader for these .cot
files.


Do you parse those text strings and compare the resulting XML  
elements? Otherwise, this will be pretty limited to one server, as it  
will even fail if you use " instead of ' or vice versa. It's still  
standard-compliant then, but different.


--
Jonathan



PGP.sig
Description: Signierter Teil der Nachricht


Re: [Standards] interop testing effort

2009-05-19 Thread Artur Hefczyc

Hi,

I wasn't part of the discussion so please let me add something to it
before the meeting. It might be worth looking at.

As you may know I work on the Tigase server and also on
Tigase Test Suite. While the test suite might not be suitable
and convenient to use by everybody there are parts which
could be easily reused by any other project in any language.

http://projects.tigase.org/testsuite/trac/browser/trunk/tests/data
a simple example:
http://projects.tigase.org/testsuite/trac/browser/trunk/tests/data/PubsubGetVersion.cot

These are just simple text files describing what has to be sent
to the server and what is expected as a response. The TTS is
written in Java and part of the TTS code is a loader for these .cot
files.

Of course my .cot files have some limitations but this format could be
a good starting point and this way everybody could easily contribute
writing new test cases.

What is left to do is the loader and runner for these files which  
could be

written in any language.

Artur

On 18 May 2009, at 23:30, Peter Saint-Andre wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Nathan Fritz has been pushing for a kick-ass interoperability testing
effort, kind of a real-time analogue to http://validator.w3.org/ but  
for

XMPP. See this post and follow-ups:

http://mail.jabber.org/pipermail/members/2009-May/005084.html

We will hold a meeting about this on Thursday, May 21 at 18:00 UTC in
the xmpp:foundat...@conference.jabber.org room.

See you then!

Peter

- --
Peter Saint-Andre
https://stpeter.im/

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoR4W4ACgkQNL8k5A2w/vxvMgCgtrzmFN5o8eYPix73ZNMPdRwJ
O6QAoJ7evWtWvOGlMc697Up20C+D1Nkq
=NMoX
-END PGP SIGNATURE-


Artur
--
Artur Hefczyc
http://www.tigase.org/
http://artur.hefczyc.net/



[Standards] interop testing effort

2009-05-18 Thread Peter Saint-Andre
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Nathan Fritz has been pushing for a kick-ass interoperability testing
effort, kind of a real-time analogue to http://validator.w3.org/ but for
XMPP. See this post and follow-ups:

http://mail.jabber.org/pipermail/members/2009-May/005084.html

We will hold a meeting about this on Thursday, May 21 at 18:00 UTC in
the xmpp:foundat...@conference.jabber.org room.

See you then!

Peter

- --
Peter Saint-Andre
https://stpeter.im/

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoR4W4ACgkQNL8k5A2w/vxvMgCgtrzmFN5o8eYPix73ZNMPdRwJ
O6QAoJ7evWtWvOGlMc697Up20C+D1Nkq
=NMoX
-END PGP SIGNATURE-