Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

SmokeTestingForMilestone

Smoke Testing for various components for each milestone

General

JDT Core

JDT Debug

Detailed Steps

https://wiki.eclipse.org/Debug/Test_Script

Simple Steps

  • Launching and debugging of Java Project
 1) Create a Java Project
 2) Create a class with main method
 3) Create a variable of Integer/String type
 4) Create a variable of array type
 5) Create a variable of list type
 6) Perform some operations on the variables and add them in Sysout
 7) Run the program and observe the console
 8) Add a Debug breakpoint on Sysout and inspect the values during debug
 9) Add some Expression in Debug Shell /expression view to inspect at breakpoint

JDT UI

For Eclipse release: https://www.eclipse.org/jdt/ui/smoke-test/smoke.html

For Java release: https://wiki.eclipse.org/JDKUpdateTesting#JDT_UI

PDE

  • 1) Create a new PDE plugin project P1 using Hello World Command. Check that
   a) The project creation goes fine 
   b) No error in Problem view 
   c) Manifest UI is fine 
  • 2) Create a test project P2 ( with PDE and API tool nature) with exported package and a class in exported package.
  • Export that plugin and put that plugin as baseline. Add a public function.
   a) There should be since tag error and a version error
   b) Use quickfix to add since tag and update version.
  • 3) Add @noinstantiate on that class in previous step and try to instantiate a new plugin project P3 ( with PDE and API tool nature) .
   a)You should get a warning that the class cannot be instantiated
   b)Use quickfix to change the warning to Error and problem view should be change appropriately
  • 4) Create a test project P4 ( with PDE and API tool nature) with exported package and a record in exported package.
  • Export that plugin and put that plugin as baseline. Add a public function to the record.
   a)There should be since tag error. 
   b)Use quickfix to add since tag and update version.

Back to the top