Xunit.DependencyInjection.Template 1.3.0

dotnet new install Xunit.DependencyInjection.Template::1.3.0
This package contains a .NET Template Package you can call from the shell/command line.

Xunit.DependencyInjection.Template

Intro

Used to create a xunit test project with Xunit.DependencyInjection

Install

dotnet new install Xunit.DependencyInjection.Template

Use

Create a test project within a folder:

dotnet new create xunit-di

Create a test project with Specific TargetFramework:

By default, we create the test project targeted at net8.0, you can change the target framework via -f <targetFrameworkName> or --framework <targetFrameworkName>

dotnet new create xunit-di -f net9.0

Create test project include folder:

dotnet new create xunit-di -n <TestProjectName>

Develop

dotnet templating Wiki: https://github.com/dotnet/templating/wiki

# package
dotnet pack Xunit.DependencyInjection.Template.csproj -o out

# install
dotnet new install ./out/Xunit.DependencyInjection.Template.1.2.0.nupkg

# testing
dotnet new create xunit-di -n TestProject

# uninstall
dotnet new uninstall Xunit.DependencyInjection.Template

Package

dotnet pack -o out

publish the nupkg file to nuget for release

  • .NETStandard 2.0

    • No dependencies.

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.3.0 204 3/18/2024
1.2.0 3,053 11/21/2023
1.1.0 518 11/11/2021
1.0.0 2,554 12/12/2020

Update to .NET 8