Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 403310

Summary: Scout Client Testing Framework
Product: z_Archived Reporter: Adrian Moser <trekking09>
Component: ScoutAssignee: Project Inbox <scout.core-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: Andreas.Hoegger, jeremie.bresson
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 402308    
Bug Blocks:    

Description Adrian Moser CLA 2013-03-14 06:33:58 EDT
Since the Scout GUI is very well structured, there should be some framework support for client based tests.

Provide default basic JUnit tests for
- Forms
- SearchForms
- LookupCalls

Applications may implement and extend those tests for their forms and tablepages.

This would also be a replacement for old-style tests such as DrilldownOutlineUnitTest (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=368158).
Comment 1 Jeremie Bresson CLA 2013-03-14 06:52:57 EDT
Can we base this framework on JUnit @Rule instead of Abstract classes ?

https://github.com/junit-team/junit/wiki/Rules
http://www.alexecollins.com/?q=content/tutorial-junit-rule
Comment 2 Adrian Moser CLA 2013-03-14 07:07:27 EDT
@Rule is usually used to create test context or inject context, so I do not currently see how it would help with providing an extendable default test itself.

Or can you give some more hints?
Comment 3 Judith Gull CLA 2013-03-16 08:32:42 EDT
The GUI Tests should replace previous non-junit based client tests: see org.eclipse.scout.rt.client.services.common.test.AbstractClientTest. Please describe how they should be replaced and define a release when the deprecated tests should be removed. (see Bug 401179).
Comment 4 Andreas Hoegger CLA 2015-04-14 14:28:10 EDT
Scout Project clean up.
Bugs matching one of the following criteria will be removed:
- SWT, Swing and HTML(RAP) bugs which are not mandatory for the next release. The future is the new HTML UI.
- Bugs concerning a replaced technology.
- old bugs which got obsolete.