xunit-xamarin - xunit.runner.devices 2.5.21

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

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

Copy to clipboard

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

Copy to clipboard

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

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

nuget xunit.runner.devices  ~> 2.5.21
Copy to clipboard

> choco install xunit.runner.devices --version 2.5.21 --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.5.21" -Repository "xunit-xamarin" 
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.1
    • Xamarin.Forms (>= 3.3.0.912540)
  • UAP 10.0
  • Xamarin.iOS 1.0
    • Xamarin.Forms (>= 3.3.0.912540)
  • MonoAndroid 8.1: 8.1.0.0
  • UAP 10.0: 10.0.0.0
  • Xamarin.iOS 1.0: 1.0.0.0

Signature validation information

Informational

Signature Hash Algorithm: SHA256

Signature type: Author

Verifying the author primary signature with certificate: 
  Subject Name: CN=xUnit.net (.NET Foundation), O=xUnit.net (.NET Foundation), L=Redmond, S=WA, C=US, SERIALNUMBER=603389068
  SHA1 hash: 89835CA46FC09C05E8C59AE2473DDA9292339630
  SHA256 hash: B8F6A977E333577BC4DA250BDB42B08171EB3C814E6502A7D5393828D8813DFE
  Issued by: CN=.NET Foundation Projects Code Signing CA, O=.NET Foundation, C=US
  Valid from: 5/30/2018 12:00:00 AM to 6/3/2021 12:00:00 PM

Timestamp: 11/8/2018 12:39:36 PM

Verifying author primary signature's timestamp with timestamping service certificate: 
  Subject Name: CN=DigiCert SHA2 Timestamp Responder, O=DigiCert, C=US
  SHA1 hash: 400191475C98891DEBA104AF47091B5EB6D4CBCB
  SHA256 hash: FC834D5BFFDE31DBA5B79BF95F573F7953BCBF9156E8525163E828EB92EA8A93
  Issued by: CN=DigiCert SHA2 Assured ID Timestamping CA, OU=www.digicert.com, O=DigiCert Inc, C=US
  Valid from: 1/4/2017 12:00:00 AM to 1/18/2028 12:00:00 AM

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

Signature

Validation: Valid

Info

763 total downloads
1 downloads for version 2.5.21
Download (535.39 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
2.5.21 535.39 KB Thu, 08 Nov 2018 12:40:17 GMT 1
2.5.20 535.33 KB Wed, 31 Oct 2018 18:41:07 GMT 1
2.5.18 535.36 KB Tue, 30 Oct 2018 16:37:53 GMT 0
2.5.17 535.35 KB Tue, 30 Oct 2018 16:37:20 GMT 0
2.5.16 535.34 KB Tue, 30 Oct 2018 16:02:37 GMT 0
2.5.15 535.38 KB Mon, 29 Oct 2018 16:51:45 GMT 0
2.5.14 535.37 KB Mon, 29 Oct 2018 16:21:50 GMT 0
2.5.13 535.36 KB Mon, 29 Oct 2018 15:32:45 GMT 1
2.5.12 535.37 KB Mon, 29 Oct 2018 14:47:48 GMT 0
2.5.9 533.55 KB Sat, 15 Sep 2018 18:22:43 GMT 1
2.5.8 533.54 KB Wed, 12 Sep 2018 21:34:47 GMT 1
2.5.6 533.55 KB Sat, 08 Sep 2018 17:55:03 GMT 0
2.4.48 532.62 KB Mon, 30 Jul 2018 01:38:29 GMT 2
2.4.0-build.48 536.16 KB Fri, 03 Aug 2018 22:17:40 GMT 1
2.4.0-build.47 532.65 KB Sun, 29 Jul 2018 16:57:59 GMT 0
2.4.0-build.44 532.62 KB Sun, 29 Jul 2018 15:24:58 GMT 23
2.4.0-build.42 531.93 KB Sun, 29 Jul 2018 15:19:50 GMT 0
2.4.0-build.38 521 KB Sun, 29 Jul 2018 14:37:55 GMT 0
2.4.0-build.37 521.04 KB Fri, 27 Jul 2018 00:29:11 GMT 1
2.4.0-build.30 1.54 MB Thu, 26 Jul 2018 21:44:14 GMT 0
2.4.0-build.29 1.54 MB Thu, 26 Jul 2018 21:32:42 GMT 0
2.4.0-build.27 1.54 MB Thu, 31 May 2018 23:33:54 GMT 4
2.4.0-build.26 1.54 MB Wed, 30 May 2018 22:26:25 GMT 2
2.4.0-build.25 1.54 MB Wed, 30 May 2018 22:00:49 GMT 3
2.4.0-build.24 1.54 MB Wed, 30 May 2018 21:57:37 GMT 3
2.4.0-build.23 1.54 MB Wed, 30 May 2018 21:44:45 GMT 15
2.4.0-build.14 490.75 KB Tue, 29 May 2018 21:58:40 GMT 2
2.4.0-build.13 490.72 KB Tue, 29 May 2018 17:05:53 GMT 3
2.4.0-build.12 490.74 KB Tue, 29 May 2018 16:53:38 GMT 2
2.4.0-build.11 490.7 KB Tue, 29 May 2018 16:08:26 GMT 2
2.4.0-build.10 490.72 KB Tue, 29 May 2018 15:34:48 GMT 30
2.4.0-build.9 490.58 KB Tue, 29 May 2018 14:47:31 GMT 3
2.4.0-build.6 490.37 KB Tue, 29 May 2018 13:20:34 GMT 3
2.4.0-build.1 488.48 KB Tue, 29 May 2018 11:51:08 GMT 3
2.3.4-build.91 488.51 KB Mon, 21 May 2018 12:29:44 GMT 3
2.3.4-build.87 479.36 KB Tue, 09 Jan 2018 22:21:19 GMT 11
2.3.3 479.28 KB Sat, 20 Jan 2018 02:27:54 GMT 9
2.3.3-g0986588d09 479.32 KB Sat, 10 Feb 2018 02:35:30 GMT 8
2.3.3-build.84 479.38 KB Tue, 09 Jan 2018 20:00:40 GMT 12
2.3.3-build.83 479.34 KB Tue, 09 Jan 2018 19:43:23 GMT 12
2.3.3-build.82 479.35 KB Tue, 09 Jan 2018 19:20:29 GMT 11
2.3.3-build.79 479.35 KB Tue, 09 Jan 2018 18:44:15 GMT 11
2.3.3-build.78 479.37 KB Tue, 09 Jan 2018 18:34:57 GMT 11
2.3.3-build.76 479.33 KB Tue, 09 Jan 2018 18:28:14 GMT 10
2.3.3-build.75 479.36 KB Tue, 09 Jan 2018 18:18:15 GMT 11
2.3.3-build.73 479.33 KB Tue, 09 Jan 2018 18:12:08 GMT 11
2.3.3-build.72 479.36 KB Tue, 09 Jan 2018 17:57:21 GMT 11
2.3.3-build.68 479.35 KB Tue, 09 Jan 2018 15:43:52 GMT 10
2.3.3-build.67 479.38 KB Tue, 09 Jan 2018 15:21:49 GMT 11
2.3.3-build.65 479.34 KB Tue, 09 Jan 2018 14:51:37 GMT 11
2.3.3-build.64 479.36 KB Tue, 09 Jan 2018 14:40:16 GMT 12
2.3.3-build.62 479.34 KB Tue, 09 Jan 2018 13:59:39 GMT 9
2.3.3-build.61 479.33 KB Tue, 09 Jan 2018 13:45:08 GMT 9
2.3.3-build.60 479.35 KB Tue, 09 Jan 2018 05:02:40 GMT 10
2.3.2 474.46 KB Fri, 01 Dec 2017 13:37:20 GMT 13
2.3.1 473.9 KB Sun, 19 Nov 2017 18:58:43 GMT 14
2.3.0 810.51 KB Tue, 24 Oct 2017 01:09:58 GMT 14
2.2.0 240.46 KB Sat, 20 May 2017 18:34:44 GMT 47
2.1.0 523.1 KB Sun, 19 Jun 2016 14:16:53 GMT 56
2.0.0 527.05 KB Sat, 30 Jan 2016 02:09:37 GMT 29
1.3.2 553.51 KB Sun, 29 Nov 2015 21:11:04 GMT 97
1.2.0 546.65 KB Sun, 27 Sep 2015 19:20:52 GMT 59
1.0.0 340.82 KB Mon, 16 Mar 2015 03:15:39 GMT 124