Bug 19028 - Can you please share some material(docs/learning material) that would help us unit test Android UI code
Summary: Can you please share some material(docs/learning material) that would help us...
Status: RESOLVED ANSWERED
Alias: None
Product: Documentation
Classification: Xamarin
Component: Mono for Android ()
Version: unspecified
Hardware: PC Windows
: Normal enhancement
Target Milestone: ---
Assignee: CraigD
URL:
Depends on:
Blocks:
 
Reported: 2014-04-14 07:11 UTC by ananth
Modified: 2015-07-30 18:38 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED ANSWERED

Description ananth 2014-04-14 07:11:10 UTC
Can you please share some material(docs/learning material) that would help us unit test Android UI code like the link that we found on your site for IOS?
 
http://docs.xamarin.com/guides/ios/deployment,_testing,_and_metrics/touch.unit/
‎ 
Also could you please recommend/suggest code coverage tools that can be used for IOS and Android Xamarin apps.
Comment 1 CraigD 2015-07-30 18:38:30 UTC
We don't currently have an equivalent document for Android, although it is a good idea for us to add in future. 

There _is_ an equivalent open-source test runner: https://github.com/spouliot/Andr.Unit

We now also ship Unit Test project templates (in Xamarin Studio, File - New Solution - Android - Tests - Android Unit Test Project). This comes complete with an internal testrunner called Xamarin.Android.NUnitLite and some samples tests to get you started.

We do not have any recommendations for code-coverage tools.

The Xamarin Forums, at http://forums.xamarin.com, are a great place to ask questions like this where the entire community can help with answers.