xunit-xamarin - xunit.runner.devices 2.3.3-build.59

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

PM> Install-Package xunit.runner.devices -Version 2.3.3-build.59 -Source https://www.myget.org/F/xunit-xamarin/api/v3/index.json

Copy to clipboard

> nuget.exe install xunit.runner.devices -Version 2.3.3-build.59 -Source https://www.myget.org/F/xunit-xamarin/api/v3/index.json

Copy to clipboard

> dotnet add package xunit.runner.devices --version 2.3.3-build.59 --source https://www.myget.org/F/xunit-xamarin/api/v3/index.json

Copy to clipboard
<PackageReference Include="xunit.runner.devices" Version="2.3.3-build.59" />
Copy to clipboard
source https://www.myget.org/F/xunit-xamarin/api/v3/index.json

nuget xunit.runner.devices  ~> 2.3.3-build.59
Copy to clipboard

> choco install xunit.runner.devices --version 2.3.3-build.59 --source https://www.myget.org/F/xunit-xamarin/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "xunit-xamarin" -SourceLocation "https://www.myget.org/F/xunit-xamarin/api/v2"
Install-Module -Name "xunit.runner.devices" -RequiredVersion "2.3.3-build.59" -Repository "xunit-xamarin" -AllowPreRelease
Copy to clipboard

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.

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

The xUnit.net logo was designed by Nathan Young.

How to get started

xUnit.net supports both .NET Standard 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
  • 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
  • MonoAndroid 8.0
    • Xamarin.Forms (>= 2.5.0.121934)
  • UAP 10.0
    • Microsoft.NETCore.UniversalWindowsPlatform (>= 6.0.5)
  • Xamarin.iOS 1.0
    • Xamarin.Forms (>= 2.5.0.121934)
  • MonoAndroid 8.0: 8.0.0.0
  • UAP 10.0: 10.0.0.0
  • Xamarin.iOS 1.0: 1.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 tdd unit test

Info

699 total downloads
7 downloads for version 2.3.3-build.59
Download (479.31 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
2.4.0-build.27 1.54 MB Thu, 31 May 2018 23:33:54 GMT 1
2.4.0-build.26 1.54 MB Wed, 30 May 2018 22:26:25 GMT 1
2.4.0-build.25 1.54 MB Wed, 30 May 2018 22:00:49 GMT 1
2.4.0-build.24 1.54 MB Wed, 30 May 2018 21:57:37 GMT 1
2.4.0-build.23 1.54 MB Wed, 30 May 2018 21:44:45 GMT 3
2.4.0-build.14 490.75 KB Tue, 29 May 2018 21:58:40 GMT 1
2.4.0-build.13 490.72 KB Tue, 29 May 2018 17:05:53 GMT 1
2.4.0-build.12 490.74 KB Tue, 29 May 2018 16:53:38 GMT 1
2.4.0-build.11 490.7 KB Tue, 29 May 2018 16:08:26 GMT 1
2.4.0-build.10 490.72 KB Tue, 29 May 2018 15:34:48 GMT 12
2.4.0-build.9 490.58 KB Tue, 29 May 2018 14:47:31 GMT 2
2.4.0-build.6 490.37 KB Tue, 29 May 2018 13:20:34 GMT 1
2.4.0-build.1 488.48 KB Tue, 29 May 2018 11:51:08 GMT 1
2.3.4-build.91 488.51 KB Mon, 21 May 2018 12:29:44 GMT 1
2.3.4-build.87 479.36 KB Tue, 09 Jan 2018 22:21:19 GMT 10
2.3.3 479.28 KB Sat, 20 Jan 2018 02:27:54 GMT 7
2.3.3-g0986588d09 479.32 KB Sat, 10 Feb 2018 02:35:30 GMT 7
2.3.3-build.84 479.38 KB Tue, 09 Jan 2018 20:00:40 GMT 9
2.3.3-build.83 479.34 KB Tue, 09 Jan 2018 19:43:23 GMT 9
2.3.3-build.82 479.35 KB Tue, 09 Jan 2018 19:20:29 GMT 9
2.3.3-build.79 479.35 KB Tue, 09 Jan 2018 18:44:15 GMT 9
2.3.3-build.78 479.37 KB Tue, 09 Jan 2018 18:34:57 GMT 8
2.3.3-build.76 479.33 KB Tue, 09 Jan 2018 18:28:14 GMT 8
2.3.3-build.75 479.36 KB Tue, 09 Jan 2018 18:18:15 GMT 9
2.3.3-build.73 479.33 KB Tue, 09 Jan 2018 18:12:08 GMT 8
2.3.3-build.72 479.36 KB Tue, 09 Jan 2018 17:57:21 GMT 8
2.3.3-build.68 479.35 KB Tue, 09 Jan 2018 15:43:52 GMT 8
2.3.3-build.67 479.38 KB Tue, 09 Jan 2018 15:21:49 GMT 9
2.3.3-build.65 479.34 KB Tue, 09 Jan 2018 14:51:37 GMT 9
2.3.3-build.64 479.36 KB Tue, 09 Jan 2018 14:40:16 GMT 9
2.3.3-build.62 479.34 KB Tue, 09 Jan 2018 13:59:39 GMT 8
2.3.3-build.61 479.33 KB Tue, 09 Jan 2018 13:45:08 GMT 8
2.3.3-build.60 479.35 KB Tue, 09 Jan 2018 05:02:40 GMT 9
2.3.3-build.59 479.31 KB Tue, 09 Jan 2018 04:46:13 GMT 7
2.3.3-build.58 479.36 KB Tue, 09 Jan 2018 04:34:49 GMT 9
2.3.3-build.57 479.38 KB Tue, 09 Jan 2018 04:23:35 GMT 8
2.3.3-build.56 479.36 KB Tue, 09 Jan 2018 03:43:09 GMT 8
2.3.3-build.55 479.31 KB Tue, 09 Jan 2018 03:36:31 GMT 8
2.3.3-build.51 474.42 KB Tue, 09 Jan 2018 03:12:56 GMT 9
2.3.3-build.49 474.46 KB Tue, 09 Jan 2018 00:51:09 GMT 9
2.3.3-build.48 474.56 KB Fri, 01 Dec 2017 13:49:46 GMT 11
2.3.2 474.46 KB Fri, 01 Dec 2017 13:37:20 GMT 11
2.3.1 473.9 KB Sun, 19 Nov 2017 18:58:43 GMT 12
2.3.0 810.51 KB Tue, 24 Oct 2017 01:09:58 GMT 13
2.2.0 240.46 KB Sat, 20 May 2017 18:34:44 GMT 46
2.1.0 523.1 KB Sun, 19 Jun 2016 14:16:53 GMT 55
2.0.0 527.05 KB Sat, 30 Jan 2016 02:09:37 GMT 28
1.3.2 553.51 KB Sun, 29 Nov 2015 21:11:04 GMT 96
1.2.0 546.65 KB Sun, 27 Sep 2015 19:20:52 GMT 57
1.0.0 340.82 KB Mon, 16 Mar 2015 03:15:39 GMT 123