By Geertjan-Oracle on Dec 05, 2013
The NetBeans TestFairy plugin I mentioned a few days ago has received its first enhancement request from Yair Bar-On, the CEO and Co-Founder of TestFairy, on behalf of the TestFairy team ("test fairies"?), and here it is:
"I was wondering if there is a way to add one more thing to the plugin. As I understand, the plugin uploads the APK to our service via our API and that is it. Will it be possible that it will also download our instrumented app back to NetBeans IDE, sign it with the developer signature (that we do not have), and upload it again signed? This will make it really perfect, since on our server we sign the apps with our signature and not that of the developers."
Well, in a way, that's already supported since the Output window that shows the result message from TestFairy includes hyperlinks. In the case of the "instrumented URL" line, the line is a hyperlink pointing directly to the instrumented APK.
However, I took it a bit further, following the request above. As can be seen below, the status bar shows that the instrumented APK was downloaded. It is automatically put into the same directory where the original APK is found. Then you can sign it or do whatever is needed and reupload it to TestFairy.
Below you can see the original file is selected, while three files above it is a file with the same name, plus "testfairy":
Also, when the TestFairy upload process begins, the progress bar kicks off, which is a nice usability improvement over the original version of the NetBeans TestFairy plugin. Get the updated plugin here: