Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Question on testing CDT and Eclipse in general

at EclipseCon my line manager (Antony Edwards) had a chat with some of you as to how Symbian could contribute to the CDT effort. One area which was initially discussed is that Symbian could contribute doing some testing and developing test harnesses. Before we can commit to anything, we would like to understand better what is involved in detail and what test strategies other CDT contributors use.

As far as I can see there are several areas of testing which can be done:

(1) Junit tests, mostly for back-end (i.e. core functionality) and unit testing. This seems straightforward as long as no user-interaction is involved and I guess that is the level at which most test suites work right now. Please correct me if I am wrong. It also seems that Junit can be used to do some limited UI testing, but that seems to be quite a cumbersome approach - particularly when you want to test whether a dialog/property page behaves currectly when a certain button has been pressed, etc.

(2) Integration testing and testing of UI elements: Because Eclipse/CDT does not support scripting the only way of automatically testing higher level functionality and interactions is to use a test tool that works based on emitting mouse and keyboard events and capturing screenshots. We only really know testQuest; and testQuest is not really suitable for desktop applications. An initial sweep on the web has shown that there does not seem to be a SWT test framework available. Is anybody using any such tools and what experiences have you made?

Any feedback would be welcome.

Best Regards

Lars Kurth
Technology Architect, Core Toolchain
Symbian Software Ltd

********************************************************************** Symbian Software Ltd is a company registered in England and Wales with registered number 4190020 and registered office at 2-6 Boundary Row, Southwark, London, SE1 8HP, UK. This message is intended only for use by the named addressee and may contain privileged and/or confidential information. If you are not the named addressee you should not disseminate, copy or take any action in reliance on it. If you have received this message in error please notify postmaster@xxxxxxxxxxx and delete the message and any attachments accompanying it immediately. Neither Symbian nor any of its subsidiaries accepts liability for any corruption, interception, amendment, tampering or viruses occurring to this message in transit or for any message sent by its employees which is not in compliance with Symbian corporate policy. **********************************************************************

Back to the top