Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

Add Testing Tasks #22

Open
dansiegel opened this issue Mar 25, 2019 · 0 comments
Open

Add Testing Tasks #22

dansiegel opened this issue Mar 25, 2019 · 0 comments

Comments

@dansiegel
Copy link

Description

Unit testing Xamarin Application is a particular pain point as there is no good tooling for this. While developers can write unit tests for their netstandard libraries with a netcoreapp, this does not guarantee that the code written is in fact going to work as expected on Xamarin targets. Also when consuming libraries like Xamarin.Essentials which provide a bait and switch API you may simply get an Exception that prevents you altogether from testing code without a lot of abstraction.

Proposal

Take the work that has been done in the v1.1 branch of Xamarin Essentials to run the xunit device runners on Azure DevOps hosted pipelines and convert this into build tasks that will allow developers to easily run unit tests for Xamarin iOS, Xamarin Android and UWP as part of their pipeline. This task should really only need to point to the test project and know if which platform we're testing for, for basic usage. This should be able to then report to Azure Pipelines the results of our Unit Tests including test coverage.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant