Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] Platform.UI jUnit Tests for SWT developers?

Hi Leo,

I think the most important tests from the SWT perspective should be:

org.eclipse.ui.tests -> JFace Tests -> AllTests.java
org.eclipse.ui.tests -> UI Tests -> UiTestSuite.java

Core runtime should have not reference to SWT, so no need to run it.

Best regards, Lars

On Mon, Jun 27, 2016 at 6:15 PM, Leo Ufimtsev <lufimtse@xxxxxxxxxx> wrote:
> Hello Platform.UI,
>
> It's come to my attention that once in a while an SWT patch breaks some
> Platform.UI jUnit tests.
>
> As such, I've been thinking that it would be beneficial for swt developers
> to run (some | all?) platform.ui tests before submitting SWT patches.
>
> I followed Vogella's tutorial (thank you) and checked the eclipse test wiki
> page and set up the projects in eclipse such that I have no errors in my
> workspace.
>
> However, there seems to be a lot of different test suits.
> As an SWT developer, should I be running all of them or just some?
> (Some of them take a rather long time to execute. I.e, which are 'important
> and critical' and which are 'nice to run'?).
> org.eclipse.ui.tests -> JFace Tests -> AllTests.java
> org.eclipse.ui.tests -> UI Tests -> UiTestSuite.java
> org.eclipse.core.tests.(runtime) -> AutomatedTests.java
> org.eclipse.core.tests.(resources) -> AutomatedTests.java   <<< These take
> for ever.
> (also, have I missed any in that list?)
>
> Or is it better to test things differently altogether (like maven etc...?)
>
> Thank you
>
> --
> Leo Ufimtsev | Assosiate Software Engineer @ Red Hat
>
> _______________________________________________
> platform-ui-dev mailing list
> platform-ui-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/platform-ui-dev



-- 
Eclipse Platform UI and e4 project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web: http://www.vogella.com


Back to the top