Testing Eclipse Plug-ins: Lessons from the Field

Session details
Session Type: 
Experience level: 
Beginner

Google uses Test-Driven Development extensively, but when Google’s newly formed Cloud Tools for Eclipse team set out to write a new Eclipse plug-in to support the Google Cloud Platform, we ran into a numerous areas where the RCP framework was not very testable. This talk explores multiple hacks we used to test things that were never designed to be tested:

 

  • Separating Eclipse dependent and non-Eclipse dependent code
  • Mocking Eclipse classes with Mockito
  • Dependency injection
  • Internal APIs
  • Reflection-fu
  • Creating projects in setUp methods 
  • Headless tests

Open source examples from Github will be provided.

Schedule info
Session Time Slot(s): 
FMZ Präsentationsraum - Wednesday, October 26, 2016 - 10:15 to 10:50

Our Sponsors

For information about becoming a sponsor, please visit the EclipseCon Europe 2016 sponsor prospectus page.

Elite Dual ECE/OSGi CE

Premium

Basic

Project Quality Day

IoT Theme Day

Media

EclipseCon Support Other Events

Our Other Events

Eclipse events are hosted all over the world!

  • EclipseCon France 2017
  • Eclipse Summit India 2017
  • Eclipsecon Europe 2017