Almost nobody agrees on the current definition of a unit tests in general and even more for an Eclipse plugin. Worked with different projects, I saw different constraints and point of view on the subject. My focus will be testing class inside a plugin without launching an OSGI platform - aka testing at the speed of light. I will explain the advantages and the constraints depending on the project context (API, RCP application).
The following topics/technologies will be taken in considerations:
- Fragment vs embedded vs external plugin
- MoreUnit configuration
- InifiniTest configuration
- Tycho integration
- Code coverage