How I do I automate Xamarin.iOS unit test project

How I do I automate Xamarin.iOS unit test project.

For Android, I found this link which worked fine.

Is there any references like this for Xamarin.iOS too?


  • DaveHuntDaveHunt USMember ✭✭✭✭✭

    Not sure what you mean by automate, but there shouldn't be anything special you have to do for Xamarin.iOS. Just add a Unit Test app to your solution, write your tests in it, then run it. See Unit Testing.

  • AndrewTarrAndrewTarr USMember

    Dave, I'm guessing he means running tests without having to start up a test app and physically clicking a test button in the app. As far as I can tell, you can't automate that.

  • QwinQwin USUniversity ✭✭

    Actually @AndewTarr it can be automated :

    There is a Touch.Server which is a command line application that let's you run the simulator -> runs the tests -> get an output file. That output file can then be parsed by your favorite NUnit file parser (usually its a building block on TFS or Jenkins or whatever). Just make sure you have rights to run simulators on your CI machine.

  • Jayu462Jayu462 Member ✭✭

    Unit Test Any Document For Xamarin iOS, Or Xamarin Android ???
    Please send link to Document Of unit Test For Xamarin iOS Or Xamarin Android
    and I am New Here So Please Send Full Guide Document,
    Advance thank you... :-)

Sign In or Register to comment.