I am currently developing an RCP application which does a lot of stuff with workspace projects at Eclipse startup/shutdown. To test this functionality I have created a JUnit Plugin test suite based on the work in org.eclipse.core.tests.session.
Basically what this does is launching another Eclipse instance from within the JUnit eclipse instance which executes the test and communicates back the results. Like so:
Development Eclipse (the one I write code with)
| launch (or: record) JUnit Plugin Test
JUnit Runtime Eclipse (the one which I launch using the Run/Debug/Record menu)
| for each test method launch separately /\
| results are communicated back and collected |
Session Test Runtime Eclipse (the one in which the test method is executed)
My question now is: is there a way to record the "Session Test Runtime Eclipse" executions (without using the recording server - just using the embedded eclipse Chronon)? (-> Resulting in one recording each for all the session test methods?)
How could I achieve such a thing?
Recording an Eclipse JUnit test executed from within an Eclipse JUnit test?
EMPLOYEE0Prashant Deva (Official Rep) December 06, 2012 08:35In the 'Sesstion Test Runtime' cant you have a test setup()/teardown() style method where you can call embedded chronon's Recorder.start() and stop() methods?Comment
Ok, I could do that. But I only have the Chonon Time Travelling Debugger personal License. Does this include EmbeddedChronon for this case?
EMPLOYEE0Prashant Deva (Official Rep) December 06, 2012 19:09no, embedded is licensed separately.