nanoFramework.TestFramework 2.1.107

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
dotnet add package nanoFramework.TestFramework --version 2.1.107
NuGet\Install-Package nanoFramework.TestFramework -Version 2.1.107
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="nanoFramework.TestFramework" Version="2.1.107">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add nanoFramework.TestFramework --version 2.1.107
#r "nuget: nanoFramework.TestFramework, 2.1.107"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install nanoFramework.TestFramework as a Cake Addin
#addin nuget:?package=nanoFramework.TestFramework&version=2.1.107

// Install nanoFramework.TestFramework as a Cake Tool
#tool nuget:?package=nanoFramework.TestFramework&version=2.1.107

NuGet #yourfirstpr Discord

nanoFramework logo


Welcome to the .NET nanoFramework Unit Test Framework repository

Build status

Component Build Status NuGet Package
nanoframework.TestFramework Build Status NuGet

What is the .NET nanoFramework Test Framework

nanoFramework TestFramework it's a Unit Test framework dedicated to .NET nanoFramework! It has all the benefits of what you're used to when using Microsoft Test platform for .NET or XUnit or any other!

The framework includes multiple elements that are distributed in a single NuGet package!

  • nanoFramework.TestFramework which contains the attributes to decorate your code and the Assert classes to check that you're code is properly doing what's expected.
  • nanoFramework.UnitTestLauncher which is the engine launching and managing the Unit Tests.
  • nanoFramework.TestAdapter which is the Visual Studio Test platform adapter, allowing to have the test integration in Visual Studio.

The integration looks like that:

test integration

And the integration will point you up to your code for successful or failed tests:

test integration failed

Usage of .NET nanoFramework Test Framework

Simply add the nanoFramework.TestFramework nuget to your project and you're good to go!

test nuget

Once you'll build your project, the tests will be automatically discovered:

test discovered

You can then run all the tests and you'll get the result:

test success

To have more details on usage of the framework, please refer to the detailed documentation here.

Know limitations

.NET nanoFramework Test Framework is supported in Visual Studio versions 2022 and 2019, only. Visual Studio 2017 is not fully supported. Unit Tests can be run only from the VS Test console.

What you'll find in this repository

This repository contains the source of the core elements. You'll find them in sources directory. The Visual Studio project is in the root directory will open those elements.

Sample pack

You can find on our samples repo a sample pack with projects demoing how to use the Unit Test Framework.

Feedback and documentation

For documentation, providing feedback, issues and finding out how to contribute please refer to the Home repo.

Join our Discord community here.

Credits

The list of contributors to this project can be found at CONTRIBUTORS.

License

The .NET nanoFramework Test Framework is licensed under the MIT license.

Code of Conduct

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behaviour in our community. For more information see the .NET Foundation Code of Conduct.

.NET Foundation

This project is supported by the .NET Foundation.

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible.  net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on nanoFramework.TestFramework:

Repository Stars
nanoframework/Samples
🍬 Code samples from the nanoFramework team used in testing, proof of concepts and other explorational endeavours
nanoframework/nanoFramework.IoT.Device
📦 This repo includes .NET nanoFramework implementations for various sensors, chips, displays, hats and drivers
Version Downloads Last updated
2.1.107 725 6/12/2024
2.1.104 994 5/24/2024
2.1.102 214 5/23/2024
2.1.100 646 5/17/2024
2.1.94 1,503 4/8/2024
2.1.93 894 3/21/2024
2.1.87 3,264 11/9/2023
2.1.85 3,412 5/17/2023
2.1.81 610 5/12/2023
2.1.79 457 5/11/2023
2.1.77 346 5/11/2023
2.1.76 434 5/10/2023
2.1.75 357 5/9/2023
2.1.74 328 5/9/2023
2.1.71 1,675 4/3/2023
2.1.66 688 4/3/2023
2.1.64 679 4/3/2023
2.1.60 824 3/13/2023
2.1.59 1,648 1/5/2023
2.1.55 919 12/22/2022
2.1.53 1,110 12/19/2022
2.1.52 427 12/15/2022
2.1.51 322 12/15/2022
2.1.50 316 12/15/2022
2.1.49 305 12/15/2022
2.1.45 298 12/15/2022
2.1.43 325 12/15/2022
2.1.41 455 12/14/2022
2.0.64 586 12/6/2022
2.0.60 1,266 10/29/2022
2.0.57 370 10/29/2022
2.0.54 484 10/28/2022
2.0.43 2,585 9/9/2022
2.0.42 690 9/1/2022
2.0.41 731 8/24/2022
1.0.209 3,389 6/6/2022
1.0.207 521 6/3/2022
1.0.205 780 5/27/2022
1.0.191 1,941 4/10/2022
1.0.189 853 4/1/2022
1.0.185 882 3/28/2022
1.0.183 749 3/18/2022
1.0.181 958 3/14/2022
1.0.178 1,140 2/18/2022
1.0.175 1,167 2/3/2022
1.0.173 2,014 1/28/2022
1.0.172 1,008 1/21/2022
1.0.170 957 1/14/2022
1.0.166 1,459 12/2/2021
1.0.163 507 12/1/2021
1.0.162 355 11/30/2021
1.0.157 2,118 9/24/2021
1.0.154 2,689 8/9/2021
1.0.150 890 7/16/2021
1.0.147 499 7/14/2021
1.0.146 527 7/6/2021
1.0.145 354 7/6/2021
1.0.143 503 7/2/2021
1.0.142 386 7/2/2021
1.0.141 479 6/28/2021
1.0.138 638 6/19/2021
1.0.137 361 6/19/2021
1.0.136 661 6/8/2021
1.0.132 691 6/7/2021
1.0.127 666 5/31/2021
1.0.126 409 5/31/2021
1.0.122 486 5/28/2021
1.0.121 484 5/25/2021
1.0.120 366 5/25/2021
1.0.118 430 5/24/2021
1.0.117 513 5/19/2021
1.0.114 472 5/14/2021
1.0.113 336 5/14/2021
1.0.110 566 5/5/2021
1.0.101 661 4/8/2021
1.0.100 380 4/7/2021
1.0.99 426 4/2/2021
1.0.98 517 3/24/2021
1.0.97 393 3/24/2021
1.0.95 446 3/22/2021
1.0.92 430 3/16/2021
1.0.89 412 3/14/2021
1.0.86 369 3/9/2021
1.0.84 359 3/9/2021
1.0.83 326 3/8/2021
1.0.82 387 3/7/2021
1.0.81 377 3/6/2021
1.0.80 372 3/5/2021
1.0.79 363 3/5/2021
1.0.78 377 3/5/2021
1.0.77 341 3/5/2021
1.0.76 349 3/5/2021
1.0.75 364 3/5/2021
1.0.74 395 3/4/2021
1.0.73 371 3/4/2021
1.0.72 363 3/4/2021
1.0.71 356 3/4/2021
1.0.70 365 3/4/2021
1.0.69 408 3/4/2021
1.0.68 397 3/3/2021
1.0.67 340 3/3/2021
1.0.66 359 3/3/2021
1.0.64 510 3/2/2021
1.0.63 341 3/2/2021
1.0.60 347 3/2/2021
1.0.59 365 3/1/2021
1.0.58 372 3/1/2021
1.0.56 373 3/1/2021
1.0.53 380 2/27/2021
1.0.52 404 2/27/2021
1.0.51 422 2/27/2021
1.0.50 387 2/26/2021
1.0.49 434 2/25/2021
1.0.48 370 2/25/2021
1.0.47 372 2/25/2021
1.0.26 393 2/25/2021
1.0.8 355 2/25/2021
1.0.6 330 2/25/2021