nanoFramework.TestFramework
2.1.41
Prefix Reserved
See the version list below for details.
dotnet add package nanoFramework.TestFramework --version 2.1.41
NuGet\Install-Package nanoFramework.TestFramework -Version 2.1.41
<PackageReference Include="nanoFramework.TestFramework" Version="2.1.41"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add nanoFramework.TestFramework --version 2.1.41
#r "nuget: nanoFramework.TestFramework, 2.1.41"
// Install nanoFramework.TestFramework as a Cake Addin #addin nuget:?package=nanoFramework.TestFramework&version=2.1.41 // Install nanoFramework.TestFramework as a Cake Tool #tool nuget:?package=nanoFramework.TestFramework&version=2.1.41
Welcome to the .NET nanoFramework Unit Test Framework repository
Build status
Component | Build Status | NuGet Package |
---|---|---|
nanoframework.TestFramework |
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 theAssert
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:
And the integration will point you up to your code for successful or failed tests:
Usage of .NET nanoFramework Test Framework
Simply add the nanoFramework.TestFramework
nuget to your project and you're good to go!
Once you'll build your project, the tests will be automatically discovered:
You can then run all the tests and you'll get the result:
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 | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. net48 is compatible. net481 was computed. |
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 |
---|---|---|
3.0.42 | 61 | 11/18/2024 |
3.0.41 | 111 | 11/18/2024 |
2.1.117 | 69 | 11/18/2024 |
2.1.116 | 60 | 11/18/2024 |
2.1.113 | 1,099 | 10/15/2024 |
2.1.112 | 1,159 | 9/20/2024 |
2.1.111 | 583 | 9/12/2024 |
2.1.107 | 2,770 | 6/12/2024 |
2.1.104 | 1,240 | 5/24/2024 |
2.1.102 | 238 | 5/23/2024 |
2.1.100 | 832 | 5/17/2024 |
2.1.94 | 1,558 | 4/8/2024 |
2.1.93 | 922 | 3/21/2024 |
2.1.87 | 3,302 | 11/9/2023 |
2.1.85 | 3,435 | 5/17/2023 |
2.1.81 | 634 | 5/12/2023 |
2.1.79 | 473 | 5/11/2023 |
2.1.77 | 364 | 5/11/2023 |
2.1.76 | 456 | 5/10/2023 |
2.1.75 | 373 | 5/9/2023 |
2.1.74 | 344 | 5/9/2023 |
2.1.71 | 1,692 | 4/3/2023 |
2.1.66 | 716 | 4/3/2023 |
2.1.64 | 699 | 4/3/2023 |
2.1.60 | 843 | 3/13/2023 |
2.1.59 | 1,666 | 1/5/2023 |
2.1.55 | 937 | 12/22/2022 |
2.1.53 | 1,198 | 12/19/2022 |
2.1.52 | 444 | 12/15/2022 |
2.1.51 | 339 | 12/15/2022 |
2.1.50 | 339 | 12/15/2022 |
2.1.49 | 328 | 12/15/2022 |
2.1.45 | 315 | 12/15/2022 |
2.1.43 | 344 | 12/15/2022 |
2.1.41 | 477 | 12/14/2022 |
2.0.64 | 607 | 12/6/2022 |
2.0.60 | 1,294 | 10/29/2022 |
2.0.57 | 391 | 10/29/2022 |
2.0.54 | 501 | 10/28/2022 |
2.0.43 | 2,605 | 9/9/2022 |
2.0.42 | 708 | 9/1/2022 |
2.0.41 | 755 | 8/24/2022 |
1.0.209 | 3,417 | 6/6/2022 |
1.0.207 | 545 | 6/3/2022 |
1.0.205 | 802 | 5/27/2022 |
1.0.191 | 1,968 | 4/10/2022 |
1.0.189 | 870 | 4/1/2022 |
1.0.185 | 904 | 3/28/2022 |
1.0.183 | 773 | 3/18/2022 |
1.0.181 | 983 | 3/14/2022 |
1.0.178 | 1,158 | 2/18/2022 |
1.0.175 | 1,190 | 2/3/2022 |
1.0.173 | 2,039 | 1/28/2022 |
1.0.172 | 1,025 | 1/21/2022 |
1.0.170 | 979 | 1/14/2022 |
1.0.166 | 1,483 | 12/2/2021 |
1.0.163 | 522 | 12/1/2021 |
1.0.162 | 372 | 11/30/2021 |
1.0.157 | 2,141 | 9/24/2021 |
1.0.154 | 2,705 | 8/9/2021 |
1.0.150 | 907 | 7/16/2021 |
1.0.147 | 517 | 7/14/2021 |
1.0.146 | 544 | 7/6/2021 |
1.0.145 | 374 | 7/6/2021 |
1.0.143 | 523 | 7/2/2021 |
1.0.142 | 403 | 7/2/2021 |
1.0.141 | 500 | 6/28/2021 |
1.0.138 | 655 | 6/19/2021 |
1.0.137 | 378 | 6/19/2021 |
1.0.136 | 682 | 6/8/2021 |
1.0.132 | 711 | 6/7/2021 |
1.0.127 | 682 | 5/31/2021 |
1.0.126 | 428 | 5/31/2021 |
1.0.122 | 507 | 5/28/2021 |
1.0.121 | 502 | 5/25/2021 |
1.0.120 | 387 | 5/25/2021 |
1.0.118 | 456 | 5/24/2021 |
1.0.117 | 531 | 5/19/2021 |
1.0.114 | 489 | 5/14/2021 |
1.0.113 | 358 | 5/14/2021 |
1.0.110 | 586 | 5/5/2021 |
1.0.101 | 679 | 4/8/2021 |
1.0.100 | 389 | 4/7/2021 |
1.0.99 | 450 | 4/2/2021 |
1.0.98 | 535 | 3/24/2021 |
1.0.97 | 409 | 3/24/2021 |
1.0.95 | 455 | 3/22/2021 |
1.0.92 | 446 | 3/16/2021 |
1.0.89 | 429 | 3/14/2021 |
1.0.86 | 387 | 3/9/2021 |
1.0.84 | 379 | 3/9/2021 |
1.0.83 | 348 | 3/8/2021 |
1.0.82 | 412 | 3/7/2021 |
1.0.81 | 397 | 3/6/2021 |
1.0.80 | 395 | 3/5/2021 |
1.0.79 | 380 | 3/5/2021 |
1.0.78 | 402 | 3/5/2021 |
1.0.77 | 348 | 3/5/2021 |
1.0.76 | 355 | 3/5/2021 |
1.0.75 | 387 | 3/5/2021 |
1.0.74 | 413 | 3/4/2021 |
1.0.73 | 387 | 3/4/2021 |
1.0.72 | 370 | 3/4/2021 |
1.0.71 | 376 | 3/4/2021 |
1.0.70 | 387 | 3/4/2021 |
1.0.69 | 434 | 3/4/2021 |
1.0.68 | 421 | 3/3/2021 |
1.0.67 | 362 | 3/3/2021 |
1.0.66 | 384 | 3/3/2021 |
1.0.64 | 528 | 3/2/2021 |
1.0.63 | 358 | 3/2/2021 |
1.0.60 | 364 | 3/2/2021 |
1.0.59 | 391 | 3/1/2021 |
1.0.58 | 391 | 3/1/2021 |
1.0.56 | 393 | 3/1/2021 |
1.0.53 | 398 | 2/27/2021 |
1.0.52 | 422 | 2/27/2021 |
1.0.51 | 439 | 2/27/2021 |
1.0.50 | 404 | 2/26/2021 |
1.0.49 | 453 | 2/25/2021 |
1.0.48 | 378 | 2/25/2021 |
1.0.47 | 396 | 2/25/2021 |
1.0.26 | 410 | 2/25/2021 |
1.0.8 | 372 | 2/25/2021 |
1.0.6 | 349 | 2/25/2021 |