Discussion:
Unit tests in sync-engine
Aurelien Bompard
2009-06-19 20:09:59 UTC
Permalink
Hi people,

I found that I need a few tweaks in the XSL stylesheets converting from
contacts/events to airsync in sync-engine. Since I don't want to break other
cases, I looked for unit tests in the source. I found some tests in the
current SVN, but they are outdated.
Would you be interested in me converting them to classic python unittests ?
I'm a python developer and I'm used to this testing framework.

If you're OK with that, I can work on it and send you the patches, but I'll
probably need to move some files around, so I don't know how this will
reflect in the patch. I guess we'll see.

How about that ?

Cheers,

Aurélien
--
http://aurelien.bompard.org ~~~~ Jabber : ***@jabber.fr
"Millions long for immortality who do not know what to do with themselves
on a rainy Sunday afternoon." -- Susan Ertz
John Carr
2009-06-19 23:09:12 UTC
Permalink
Would love to see some proper test coverage for sync-engine :] - so +1

John
Post by Aurelien Bompard
Hi people,
I found that I need a few tweaks in the XSL stylesheets converting from
contacts/events to airsync in sync-engine. Since I don't want to break other
cases, I looked for unit tests in the source. I found some tests in the
current SVN, but they are outdated.
Would you be interested in me converting them to classic python unittests ?
I'm a python developer and I'm used to this testing framework.
If you're OK with that, I can work on it and send you the patches, but I'll
probably need to move some files around, so I don't know how this will
reflect in the patch. I guess we'll see.
How about that ?
Cheers,
Aurélien
--
"Millions long for immortality who do not know what to do with themselves
on a rainy Sunday afternoon." -- Susan Ertz
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
SynCE-Devel mailing list
https://lists.sourceforge.net/lists/listinfo/synce-devel
Aurelien Bompard
2009-06-30 19:29:25 UTC
Permalink
Hi all,
Post by John Carr
Would love to see some proper test coverage for sync-engine :] - so +1
To follow up, I've posted the first patch as #2811974 :
https://sourceforge.net/tracker/?func=detail&aid=2811974&group_id=30550&atid=399603

Please tell me if it looks good to you, and if I can keep working on that.

Thanks

Aurélien
--
http://aurelien.bompard.org ~~~~ Jabber : ***@jabber.fr
Pessimism is a luxury of good times. In difficult times, pessimism is a
self-fulfilling, self-inflicted death sentence -- Evelin Linder
Mark Ellis
2009-07-07 19:34:29 UTC
Permalink
Post by Aurelien Bompard
Hi all,
Post by John Carr
Would love to see some proper test coverage for sync-engine :] - so +1
https://sourceforge.net/tracker/?func=detail&aid=2811974&group_id=30550&atid=399603
Please tell me if it looks good to you, and if I can keep working on that.
Thanks
Aurélien
Hi

Haven't got time to have a comprehensive look at this, and have never
looked at the tests in sync-engine anyway, but it seems to work :) If no
one else can see a problem, I'll commit it soon. Thanks for the patch !

Mark
Mark Ellis
2009-07-10 11:37:00 UTC
Permalink
Post by Mark Ellis
Post by Aurelien Bompard
Hi all,
Post by John Carr
Would love to see some proper test coverage for sync-engine :] - so +1
https://sourceforge.net/tracker/?func=detail&aid=2811974&group_id=30550&atid=399603
Please tell me if it looks good to you, and if I can keep working on that.
Thanks
Aurélien
Hi
Haven't got time to have a comprehensive look at this, and have never
looked at the tests in sync-engine anyway, but it seems to work :) If no
one else can see a problem, I'll commit it soon. Thanks for the patch !
Mark
Ok, committed that, any more welcomed !

Ta
Mark

Dr J A Gow
2009-07-07 22:52:57 UTC
Permalink
Post by Aurelien Bompard
Hi all,
Post by John Carr
Would love to see some proper test coverage for sync-engine :] - so +1
https://sourceforge.net/tracker/?func=detail&aid=2811974&group_id=30550&atid=399603
Please tell me if it looks good to you, and if I can keep working on that.
Thanks
Aurélien
This seems generally like an excellent idea, thanks for your attention
to this area. Would advise concentrating on the upcoming Opensync
0.3x/0.4x conversions first as this would help me get them fixed up :)

John.
Loading...