MVFC.Pack.Testing
2.0.0
See the version list below for details.
dotnet add package MVFC.Pack.Testing --version 2.0.0
NuGet\Install-Package MVFC.Pack.Testing -Version 2.0.0
<PackageReference Include="MVFC.Pack.Testing" Version="2.0.0" />
<PackageVersion Include="MVFC.Pack.Testing" Version="2.0.0" />
<PackageReference Include="MVFC.Pack.Testing" />
paket add MVFC.Pack.Testing --version 2.0.0
#r "nuget: MVFC.Pack.Testing, 2.0.0"
#:package MVFC.Pack.Testing@2.0.0
#addin nuget:?package=MVFC.Pack.Testing&version=2.0.0
#tool nuget:?package=MVFC.Pack.Testing&version=2.0.0
MVFC.Pack.Testing
Sobre
O MVFC.Pack.Testing é um pacote (metapackage) focado em unificar as ferramentas essenciais para a escrita de testes automatizados unitários e de integração no ecossistema .NET 10.
Instalação (NuGet)
Você pode instalar o pacote diretamente via CLI no seu projeto de testes:
dotnet add package MVFC.Pack.Testing
Como Usar
Sendo um metapackage, ao instalá-lo no seu projeto de testes, todas as bibliotecas e frameworks necessários ficam imediatamente disponíveis. Ferramentas de testes (xUnit, FluentAssertions, NSubstitute, Bogus, Testcontainers) estarão prontas para ser importadas usando using Namespace; tranquilamente.
Pacotes Inclusos e Versões
Abaixo estão as bibliotecas inclusas neste pacote, bem como suas respectivas versões.
| Pacote | Versão |
|---|---|
| xunit.v3 | 3.2.2 |
| xunit.v3.extensibility.core | 3.2.2 |
| xunit.runner.visualstudio | 3.1.5 |
| Microsoft.NET.Test.Sdk | 18.0.1 |
| FluentAssertions | 7.0.0 |
| NSubstitute | 5.3.0 |
| Microsoft.AspNetCore.Mvc.Testing | 10.0.3 |
| Bogus | 35.6.5 |
| Testcontainers | 4.10.0 |
Motivação
Agilizar a escrita de testes desde o primeiro momento. Ele já monta um ecossistema com suporte à terceira versão do xUnit, o framework líder de mocks NSubstitute, dados fictícios realistas com Bogus, validações expressivas em inglês com FluentAssertions e provisionamento de infraestrutura descartável com Testcontainers.
Licença
Este projeto é licenciado sob a licença Apache License 2.0. Consulte o arquivo LICENSE para obter mais detalhes.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- Bogus (>= 35.6.5)
- FluentAssertions (= 7.0.0)
- Microsoft.AspNetCore.Mvc.Testing (>= 10.0.3)
- Microsoft.NET.Test.Sdk (>= 18.0.1)
- NSubstitute (>= 5.3.0)
- Testcontainers (>= 4.10.0)
- xunit.runner.visualstudio (>= 3.1.5)
- xunit.v3 (>= 3.2.2)
- xunit.v3.extensibility.core (>= 3.2.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.