GithubHelp home page GithubHelp logo

roubachof / devices.xunit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xunit/devices.xunit

0.0 2.0 0.0 2.64 MB

xUnit.net Runners for Devices

License: Other

PowerShell 0.50% C# 96.18% Pascal 3.32%

devices.xunit's Introduction

These runners enable xUnit.net tests to run on iOS and Android devices with Xamarin. It also supports Windows Phone 8 Silverlight devices. The xUnit.net Device Runners are a sub-project of xUnit.net under the Outercurve 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.0 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 (WP8) 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

  • Windows Phone 8 Silverlight
  • Xamarin.Android
  • Xamarin.iOS (Classic and Unified)
  • Windows Runtime 8.1
  • WPF/Desktop (future support planned)
  • 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).

Links to Resources

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.