It would be nice to have an easy way to set the remote server options in code so that you don't have to click on the UI to open and set the Options to send the test results to a remote server in an Android NUnit runner project.
## Workaround option
Use Xamarin.UITest and automate the UI to open the Options page and set the values. This will only work on a simulator unless you have a test cloud account to allow testing on a device.
Additionally : not only the remote server options but also tests results output format like "NUnit2XmlOutput", "NUnit3XmlOutput".
Changing from enhancement to normal as , IIRC, it was said there was no reason for these classes to be internal.
The classes that should be made public, IMO, are:
With the above classes public, the user should be able to easily set the remote server options in code (like can be done with Monotouch.NUnitLite) and provide a custom text writer to get the results in the desired format.
You don't have to open any UI to set those options. "remote", "hostName" and "hostPort" can be specified when you launch the app through standard Android instrumentation. That's what our QA team does.
The reason why I didn't make them open is that any stable API will be then required to remain even after we make significant changes (the most foreseeable one is to migrate to NUnit3 once it gets released).