4.2.2.1 Setting up an RCP AUT for testing as a part of the build process

We recommend adding the RCP accessor to your AUT automatically in one of the following ways. Which way you choose will depend on your AUT , build process and Eclipse version, and you should check with the development team which approach is best:

During the product build:
Adding the RCP Accessor as a plugin to your AUT as it is being built is one way to ensure that it is present and started when the AUT starts.
Via the OSGI console:
If adding the Accessor during the build is not an option, then you can add it after the build via the OSGI console. The availability of this option is dependent on the version of Eclipse you use, and your AUT : It must allow this type of post-hoc inclusion of plugins for this to work.
Via the P2 director:
Alternatively, you can add it after the product build using the P2 director. The availability of this option is dependent on the version of Eclipse you use, and your AUT : It must allow this type of post-hoc inclusion of plugins for this to work.



Copyright BREDEX GmbH 2013. Made available under the Eclipse Public License v1.0.