[Kde-pim] akonadi testing framework
Brad Hards
bradh at frogmouth.net
Wed May 7 11:32:56 BST 2008
On Thursday 01 May 2008 01:34:33 pm Igor Trindade Oliveira wrote:
> Hello akonadi guys,
>
> my name is Igor and i am participating on GSoC
> mentored by Kevin Krammer , basically my project is to
> do a testing framework that when a developer make a
> agent/resource, the testing framework can test(of
> course :>) this agent/resource automatically.
First of all, congratulations on being selected for GSoC, and I'm personally
interested in using the test framework.
> And i am right now doing a requirement analysis to see
> what the testing framework need to do.
> So i am asking for you, when you are testing your
> agents/resources what are the steps done by you?
When I test the openchange (Microsoft Exchange server) resource, I start up my
test server, and then get akonadiconsole started. I then try to get it synced
up, and make sure that the various displays match what I'm expecting - the
right email address, the right name, the right message content, the right
image in the address book entry, and so on.
Ideally I like to be able to set up the test framework with some reference
file(s) that correspond to the various elements in the server (e.g. a mail
message, a contact entry, an RSS entry, and so on) and then have the test
framework check that akonadi reports the right properties in each element.
The next step after that would be an ability to create elements on the server
from a file, and to check that they have been created correctly.
Eventually, some kind of stress test ability (create very large properties,
null properties, repeated creation/deletion etc) would be nice.
Don't hesitate to ask more questions either here or on IRC if this isn't clear
enough!
Brad
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list