Show last authors
1 == Integration Testing: Eclipse Plugin JUnit Test ==
2
3 Testing code in the context of the eclipse environment as a JUnit test can be very slow. Execution time can be significantly reduced by only using the necessary plugins in "headless mode". Just follow these simple instructions:
4
5 1. In Project Explorer, right click the test class, choose "Run as" (or "Debug as", as needed) and choose "Run configurations".
6 [[image:attach:plugintest1.png]]
7 1. Right click JUnit Plugin Test and click "New"
8 [[image:attach:plugintest2.png]]
9 1. Choose the Tab "Plug-Ins" and select "plugins selected below" from the drop-down menu "Launch with:"
10 [[image:attach:plugintest3.png]]
11 1. Click "Deselect all"
12 \\[[image:attach:plugintest4.png]]
13 1. Choose the test project needed for your test and click "Add required plugins"
14 [[image:attach:plugintest5.png]]
15 1. Click Tab "Main" and choose "Run an application"
16 [[image:attach:plugintest6.png]]
17 1. From the dropdown menu beside "Run an application" choose "No application"
18 [[image:attach:plugintest7.png]]
19 1. Hit run and enjoy pure speed (sort of).