xunit-xamarin - xunit.runner.devices 1.2.3-build0006

Includes support for running xUnit.net v2 tests on iOS, Android, WP8, Win 8.1 and UWP devices


These runners enable xUnit.net tests to run on iOS and Android devices with Xamarin and on any UWP device.

The xUnit.net Device Runners are a sub-project of xUnit.net under the .NET Foundation. It is licensed under the Apache 2 license, which is approved by the OSI.

Continuous integration builds are available online via TeamCity.

For status updates to these runners, follow @onovotny on Twitter For status updates on xUnit.net, follow @xunit, @jamesnewkirk, @bradwilson

For information on contributing to xUnit.net, see xUnit.net Governance.

The xUnit.net logo was designed by Nathan Young.
The TeamCity server is sponsored by CenturyLink Cloud.

How to get started

xUnit.net supports both Portable Class Library (PCL) and platform specific projects for iOS and Android. Unit tests for Xamarin have two main components, which may reside in the same assembly.

  1. Assemblies containing tests: install the latest xUnit 2.1 package. Install-Package xUnit
  2. App for running the tests on a device or simulator: install the xUnit for Devices runner package. Install-Package xUnit.Runner.Devices

The runner package adds a starting AppDelegate (for iOS), MainActivity (for Android) or MainPage.xaml (UWP) that you should use instead of the one generated by the new project template. Unit tests in the application itself will be picked up automatically. Referenced assemblies that contain tests need to be manually specified as described in the sample code.

Platform support

  • Xamarin.Android
  • Xamarin.iOS
  • WPF/Desktop (future support planned)
  • UWP (Windows 10)

This is a work-in-progress

Basic functionality works -- tests are discoverable and runnable. There is a lot of room for improvements in each of the runner apps. Pull Requests are very welcome. One main requirement -- the runner assemblies should be self-contained; they should not pull in additional non-xunit libraries (except Xamarin.Forms).

Todo

  • Getting data back from runner to listening agent (remote)
  • trait display/filters
  • UI polish
  • Any 0.0
    • Xamarin.Forms (>= 1.5.0.6447)
    • xunit.core (>= 2.1.0)
    • xunit.runner.utility (>= 2.1.0)
  • UAP 10.0
    • System.Collections (>= 4.0.10)
    • System.Collections.Concurrent (>= 4.0.10)
    • System.Diagnostics.Debug (>= 4.0.10)
    • System.Diagnostics.Tools (>= 4.0.0)
    • System.Globalization (>= 4.0.10)
    • System.IO (>= 4.0.10)
    • System.IO.FileSystem (>= 4.0.0)
    • System.Linq (>= 4.0.0)
    • System.ObjectModel (>= 4.0.10)
    • System.Reflection (>= 4.0.10)
    • System.Runtime (>= 4.0.20)
    • System.Runtime.Extensions (>= 4.0.10)
    • System.Runtime.InteropServices.WindowsRuntime (>= 4.0.0)
    • System.Runtime.WindowsRuntime (>= 4.0.10)
    • System.Text.Encoding (>= 4.0.10)
    • System.Threading (>= 4.0.10)
    • System.Threading.Tasks (>= 4.0.10)
    • System.Xml.XDocument (>= 4.0.10)
    • xunit.abstractions (>= 2.0.0)
    • xunit.core (>= 2.1.0)
    • xunit.extensibility.core (>= 2.1.0)
    • xunit.extensibility.execution (>= 2.1.0)
    • xunit.runner.utility (>= 2.1.0)
  • MonoAndroid 0.0: 0.0.0.0
  • MonoTouch 0.0: 0.0.0.0
  • Xamarin.iOS 0.0: 0.0.0.0
  • WindowsPhone 8.0: 8.0.0.0
  • WindowsPhoneApp 8.1: 8.1.0.0
  • Windows 8.1: 8.1.0.0
  • UAP 10.0: 10.0.0.0
Owners
Oren Novotny
Authors
Oren Novotny
Project URL
https://github.com/xunit/devices.xunit
License
Apache-2.0
Tags
xunit uwp xamarin android ios monoandroid monotouch wp8 wpa81 win81 tdd unit test
321 total downloads
0 downloads for version 1.2.3-build0006
Package size 550.22 KB
Download
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
Recommended release 2.2.0-rc2-build0005 240.38 KB Tue, 14 Mar 2017 15:37:04 GMT 0
2.2.0-rc2-build0004 240.38 KB Fri, 10 Mar 2017 03:07:58 GMT 0
2.2.0-rc2-build0003 240.38 KB Sun, 26 Feb 2017 14:36:41 GMT 0
2.2.0-rc2-build0002 240.24 KB Mon, 20 Feb 2017 22:04:21 GMT 0
2.2.0-rc2-build0001 240.24 KB Mon, 20 Feb 2017 20:41:07 GMT 1
2.2.0-rc0001 240.31 KB Mon, 20 Feb 2017 20:26:42 GMT 0
2.2.0-beta-build0026 240.19 KB Mon, 20 Feb 2017 20:17:43 GMT 0
2.2.0-beta-build0025 237.41 KB Mon, 20 Feb 2017 19:00:42 GMT 0
2.2.0-beta-build0024 237.36 KB Mon, 20 Feb 2017 18:12:59 GMT 19
2.2.0-beta-build0021 232.88 KB Mon, 20 Feb 2017 15:37:23 GMT 0
2.2.0-beta-build0016 232.72 KB Sat, 11 Feb 2017 01:54:31 GMT 0
2.2.0-beta-build0015 231.09 KB Sat, 11 Feb 2017 01:23:43 GMT 0
2.1.0 523.1 KB Sun, 19 Jun 2016 14:16:53 GMT 23
2.1.0-rc0001 523.27 KB Sat, 18 Jun 2016 20:50:18 GMT 47
2.0.1-build0002 526.99 KB Sat, 26 Mar 2016 21:04:26 GMT 0
2.0.1-build0001 527.11 KB Sun, 07 Feb 2016 15:08:35 GMT 0
2.0.0 527.05 KB Sat, 30 Jan 2016 02:09:37 GMT 2
2.0.0-rc2-build0005 526.9 KB Sat, 30 Jan 2016 01:54:54 GMT 0
2.0.0-rc2-build0004 527.13 KB Sat, 23 Jan 2016 20:16:15 GMT 0
2.0.0-rc2-build0003 527.9 KB Sat, 23 Jan 2016 19:52:54 GMT 1
2.0.0-build0007 527.2 KB Fri, 22 Jan 2016 20:44:20 GMT 1
2.0.0-build0006 526.87 KB Sun, 06 Dec 2015 20:51:56 GMT 0
2.0.0-build0005 525.44 KB Sun, 29 Nov 2015 20:58:02 GMT 40
2.0.0-build0004 524.87 KB Sun, 29 Nov 2015 19:45:43 GMT 1
2.0.0-build0003 523.86 KB Sun, 29 Nov 2015 19:41:24 GMT 0
2.0.0-build0002 527.9 KB Sat, 23 Jan 2016 19:32:50 GMT 0
2.0.0-build0001 527.19 KB Sat, 23 Jan 2016 15:13:12 GMT 0
1.3.2 553.51 KB Sun, 29 Nov 2015 21:11:04 GMT 35
1.3.1-beta1-build0002 553.03 KB Sun, 29 Nov 2015 21:02:20 GMT 0
1.3.1-beta1-build0001 551.38 KB Wed, 25 Nov 2015 22:31:15 GMT 1
1.3.0-beta1-build0002 550.83 KB Wed, 25 Nov 2015 21:44:38 GMT 1
1.2.3-build0027 551.74 KB Wed, 25 Nov 2015 04:42:20 GMT 0
1.2.3-build0011 550.91 KB Tue, 24 Nov 2015 22:10:46 GMT 0
1.2.3-build0010 551.41 KB Tue, 24 Nov 2015 21:16:19 GMT 37
1.2.3-build0009 550.27 KB Mon, 23 Nov 2015 22:07:24 GMT 0
1.2.3-build0006 550.22 KB Sun, 22 Nov 2015 18:33:46 GMT 0
1.2.3-build0005 549.41 KB Sun, 22 Nov 2015 17:26:55 GMT 0
1.2.3-build0004 549.67 KB Sun, 22 Nov 2015 17:17:36 GMT 0
1.2.3-build0003 546.16 KB Sat, 21 Nov 2015 23:05:50 GMT 1
1.2.2-build0003 546.64 KB Sat, 21 Nov 2015 21:01:34 GMT 1
1.2.2-build0001 546.25 KB Wed, 11 Nov 2015 23:25:01 GMT 2
1.2.1-build0001 546.2 KB Wed, 07 Oct 2015 17:34:10 GMT 1
1.2.0 546.65 KB Sun, 27 Sep 2015 19:20:52 GMT 19
1.2.0-rc5-build0001 546.37 KB Tue, 22 Sep 2015 15:50:35 GMT 1
1.0.0 340.82 KB Mon, 16 Mar 2015 03:15:39 GMT 87