IntelliTect.TestTools.Console
0.7.1
See the version list below for details.
dotnet add package IntelliTect.TestTools.Console --version 0.7.1
NuGet\Install-Package IntelliTect.TestTools.Console -Version 0.7.1
<PackageReference Include="IntelliTect.TestTools.Console" Version="0.7.1" />
paket add IntelliTect.TestTools.Console --version 0.7.1
#r "nuget: IntelliTect.TestTools.Console, 0.7.1"
// Install IntelliTect.TestTools.Console as a Cake Addin #addin nuget:?package=IntelliTect.TestTools.Console&version=0.7.1 // Install IntelliTect.TestTools.Console as a Cake Tool #tool nuget:?package=IntelliTect.TestTools.Console&version=0.7.1
TestTools.Console
Console is a simple end-to-end test framework for .NET console applications.
Check out the package at https://www.nuget.org/packages/IntelliTect.TestTools.Console
This currently has non-optimal nomenclature and is not guaranteed to be efficient, but it appears to work.
Usage
To use it, use this syntax within a unit test:
string view =
@"Please enter something: <<Something
>>You said 'Something'.";
IntelliTect.TestTools.Console.ConsoleAssert.Expect(view, () => { MyMethod() } );
The view variable contains a sample view to test for. Within it, the <<
and >>
symbols indicate that the inner content is entered into the console by the user -- including the newline, as they would press Enter.
... More to come later.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- System.CodeDom (>= 4.5.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on IntelliTect.TestTools.Console:
Repository | Stars |
---|---|
IntelliTect/EssentialCSharp
This project contains the source code for the book Essential C# by Mark Michaelis (Addison-Wesley).
|
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 2,672 | 11/11/2023 |
0.7.1 | 4,069 | 8/3/2022 |
0.7.0 | 605 | 8/2/2022 |
0.6.0-ci-20220127-2 | 3,054 | 1/28/2022 |
0.6.0-ci-20200919-1 | 2,471 | 9/21/2020 |
0.6.0-ci-20200504-2 | 19,251 | 5/5/2020 |
0.6.0-ci-20200502-2 | 341 | 5/4/2020 |
0.6.0-ci-20190618-2 | 1,590 | 6/18/2019 |
0.6.0-ci-20190617-1 | 406 | 6/17/2019 |
0.6.0-ci-20190611-1 | 413 | 6/11/2019 |
0.6.0-ci-20190611.2 | 304 | 6/11/2019 |
0.5.1-beta-180924-1 | 634 | 9/25/2018 |
0.5.1-beta-180920-2 | 587 | 9/20/2018 |
0.5.1-beta-180920-1 | 671 | 9/20/2018 |
0.5.0-beta-180813-1 | 727 | 8/15/2018 |