Ramstack.FileSystem.Specification.Tests
1.2.0
dotnet add package Ramstack.FileSystem.Specification.Tests --version 1.2.0
NuGet\Install-Package Ramstack.FileSystem.Specification.Tests -Version 1.2.0
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="Ramstack.FileSystem.Specification.Tests" Version="1.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ramstack.FileSystem.Specification.Tests" Version="1.2.0" />
<PackageReference Include="Ramstack.FileSystem.Specification.Tests" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Ramstack.FileSystem.Specification.Tests --version 1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Ramstack.FileSystem.Specification.Tests, 1.2.0"
#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.
#addin nuget:?package=Ramstack.FileSystem.Specification.Tests&version=1.2.0
#tool nuget:?package=Ramstack.FileSystem.Specification.Tests&version=1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Ramstack.FileSystem.Specification.Tests
Provides a suite of NUnit
tests to validate specifications for Ramstack.FileSystem
.
Getting Started
To install the Ramstack.FileSystem.Specification.Tests
NuGet package
in your project, run the following command:
dotnet add package Ramstack.FileSystem.Specification.Tests
Usage
using Ramstack.FileSystem.Specification.Tests;
using Ramstack.FileSystem.Specification.Tests.Utilities;
namespace Ramstack.FileSystem.Physical;
[TestFixture]
public class PhysicalFileSystemSpecificationTests : VirtualFileSystemSpecificationTests
{
// Test content for the file system structure
private readonly TempFileStorage _storage = new();
[OneTimeTearDown]
public void Cleanup()
{
// Remove temporary files
_storage.Dispose();
}
// Create a file system
protected override IVirtualFileSystem GetFileSystem() =>
new PhysicalFileSystem(_storage.Root);
// Return DirectoryInfo to check file system structure
protected override DirectoryInfo GetDirectoryInfo() =>
new DirectoryInfo(_storage.Root);
}
Supported Versions
Version | |
---|---|
.NET | 6, 7, 8 |
Contributions
Bug reports and contributions are welcome.
License
This package is released as open source under the MIT License. See the LICENSE file for more details.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- NUnit (>= 4.3.2)
- Ramstack.FileSystem.Abstractions (>= 1.2.0)
- System.Linq.Async (>= 6.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.2.0 | 151 | 25 days ago |
1.1.1 | 158 | 8 months ago |
1.1.0 | 123 | 8 months ago |
1.0.1 | 109 | 8 months ago |
1.0.0 | 148 | 8 months ago |
1.0.0-preview.9 | 59 | 8 months ago |
1.0.0-preview.8 | 72 | 8 months ago |
1.0.0-preview.7 | 59 | 8 months ago |
1.0.0-preview.6 | 59 | 8 months ago |
1.0.0-preview.5 | 68 | 9 months ago |
1.0.0-preview.4 | 81 | 9 months ago |
1.0.0-preview.3 | 81 | 9 months ago |
1.0.0-preview.2 | 86 | 9 months ago |
1.0.0-preview.1 | 67 | 9 months ago |