Bug 553837 - [Tests] Restructure o.e.ui.tests
Summary: [Tests] Restructure o.e.ui.tests
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.13   Edit
Hardware: PC Windows 10
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-05 14:48 EST by Rolf Theunissen CLA
Modified: 2019-12-05 15:23 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rolf Theunissen CLA 2019-12-05 14:48:56 EST
I think that the current state of o.e.ui.tests is quite messy:
- The hierarchy of some TestSuites is different than the package hierarchy. That is, suites include tests from other packages.
- Manual, automated and session tests are mixed.
- Testcase classes and helper classes are mixed in packages.
- It is very hard to find relations between production code and test code. The test code hierarchy does not match the production code.

Because of this I think it is hard to get a clear view on what is tested and where it is tested. This makes it less then trivial to see which tests need to be extended when changing production code. This must especially be true for newcomers.
Also spotting that some tests are disabled is very hard. There are some test cases that have not been enabled for *17* years.

Do others agree? And if so, what should the structure of the tests be?
Comment 1 Lars Vogel CLA 2019-12-05 15:23:17 EST
+1 for restructuring. As you have most likely the best insight due to your Junit 4 work, please do as you think is best.