|Re: [egit-dev] Building and testing EGit -- targeting #302549 resolution|
Le 15/06/2011 15:52, Matthias Sohn a écrit :
Actually I already had 80% of the work done. Porting the --follow feature of JGit into the GitHistoryPage class was just about setting a FollowFilter as tree filter of the current walk (well in the right circumstances).
My problem was just how to test that. I finally realized I could use a dedicated test instance of Eclipse. In which I would install EGit with this update-site archive generated by the build process. I added a section about that in the contributor guide.
Now I have tested. Well... it works great!!!
I tested it successfully on Galileo SR2 + JDK 1.5, and Helios SR2 + JDK 1.6.
For testing in Galileo, the dedicated maven profile is useful:
$ mvn -P platform-galileo -P skip-ui-tests install
I also added some info about that in the contributor guide.
I submited the patch in the bug #302549.
Now I'll submit the patch into Gerrit!
Thank you Matthias, I saw you added those precious advice about UI testing in the contributor guide.
Back to the top