Skip to main content
Jump to: navigation, search

Difference between revisions of "DSDP/TM/JUnittests Framework Documentation"

< DSDP‎ | TM
Line 10: Line 10:
  
 
''Do you only '''use''' RSE within your currently running Eclipse environment for remote system connectivity or do you '''develop''' plugin(s) based on RSE and/or using RSE API?''
 
''Do you only '''use''' RSE within your currently running Eclipse environment for remote system connectivity or do you '''develop''' plugin(s) based on RSE and/or using RSE API?''
* If you answer ''I develop plugin(s) using RSE API and/or I contribute/plan to contribute actively to RSE.'' '''--> see section [[#Launching_the_DSDP-TM_JUnit_tests_as_JUnit_Plug-in_Test|2.1]]'''  
+
* If you answer ''I develop plugin(s) using RSE API and/or I contribute/plan to contribute actively to RSE.'' '''-> see section [[#Launching_the_DSDP-TM_JUnit_tests_as_JUnit_Plug-in_Test|2.1]]'''  
* If you answer ''I only use RSE within my running Eclipse for accessing remote systems.'' '''--> see section [[#Launching_the_DSDP-TM_JUnit_tests_from_within_the_currently_running_Eclipse_instance|2.2]]'''
+
* If you answer ''I only use RSE within my running Eclipse for accessing remote systems.'' '''-> see section [[#Launching_the_DSDP-TM_JUnit_tests_from_within_the_currently_running_Eclipse_instance|2.2]]'''
 
* If you cannot answer the above question clearly (because you may simple fall in both user groups at the same time), you may choose the use case with can serve your needs most efficiently.
 
* If you cannot answer the above question clearly (because you may simple fall in both user groups at the same time), you may choose the use case with can serve your needs most efficiently.
  
 
=== Launching the DSDP-TM JUnit tests as JUnit Plug-in Test ===
 
=== Launching the DSDP-TM JUnit tests as JUnit Plug-in Test ===
 +
 +
'''Precondition:''' Both JDT and PDE needs to be installed and activated.
 +
 +
# Open the Eclipse Launch Configuration Dialog in Run mode (Run -> Run...)
 +
# Expand the "''JUnit Plug-in test''" category if not expanded anyway
 +
# Select the pre-configured launch configuration named "''RSE Combined Test Suite''"
 +
# Choose "''Duplicate''" either from the context menu or from the tree toolbar
 +
  
 
=== Launching the DSDP-TM JUnit tests from within the currently running Eclipse instance ===
 
=== Launching the DSDP-TM JUnit tests from within the currently running Eclipse instance ===

Revision as of 09:10, 29 December 2006

Hitch-Hacker's Guide to Using and Writing DSDP-TM (aka RSE) JUnit tests

This page is giving a introduction to the usage of the DSDP-TM JUnit tests framework as well as providing How To's and short descriptions of the features available in the framework for JUnit test developers.

Note: The page is under on-going maintenance and will be updated if the framework is changed or extended!

Using the DSDP-TM JUnit tests

Using means running the test cases either within a target platform Eclipse or within the currently executing Eclipse instance. There is basically only one question to distiguish between the two use cases:

Do you only use RSE within your currently running Eclipse environment for remote system connectivity or do you develop plugin(s) based on RSE and/or using RSE API?

  • If you answer I develop plugin(s) using RSE API and/or I contribute/plan to contribute actively to RSE. -> see section 2.1
  • If you answer I only use RSE within my running Eclipse for accessing remote systems. -> see section 2.2
  • If you cannot answer the above question clearly (because you may simple fall in both user groups at the same time), you may choose the use case with can serve your needs most efficiently.

Launching the DSDP-TM JUnit tests as JUnit Plug-in Test

Precondition: Both JDT and PDE needs to be installed and activated.

  1. Open the Eclipse Launch Configuration Dialog in Run mode (Run -> Run...)
  2. Expand the "JUnit Plug-in test" category if not expanded anyway
  3. Select the pre-configured launch configuration named "RSE Combined Test Suite"
  4. Choose "Duplicate" either from the context menu or from the tree toolbar


Launching the DSDP-TM JUnit tests from within the currently running Eclipse instance

Back to the top