- MANIFEST.MF using OSGi PlatformAdmin service for basic identity values and dependencies
- plugin.xml, e.g. parsing extension points .exsd files to determine attributes then testing extensions for valid values
- commands and handlers using ICommandListener and IExecutionListener
- views and editors using IWorkbench and reflection
- a PropertyTester by parsing its extension to drive tests using IEvaluationService with various values
- a SourceProvider, testing its variable is the same when obtained from the extension, the implementation class, and from its current state
- expressions as used in a plugin.xml using the IEvaluationService with various contexts
- dialogs and wizards using Display.timerExec()
- unwanted messages using an ILogListener and replacing the default system.out stream
Wednesday, March 23, 2011
10 Techniques to Test a Plug-in
This guy was full of good ideas. He's putting together a blog that will have code samples and more details on testing:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment