Tisa.BpmTesting
2026.9.10.310
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Tisa.BpmTesting --version 2026.9.10.310
NuGet\Install-Package Tisa.BpmTesting -Version 2026.9.10.310
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="Tisa.BpmTesting" Version="2026.9.10.310" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Tisa.BpmTesting" Version="2026.9.10.310" />
<PackageReference Include="Tisa.BpmTesting" />
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 Tisa.BpmTesting --version 2026.9.10.310
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Tisa.BpmTesting, 2026.9.10.310"
#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.
#:package Tisa.BpmTesting@2026.9.10.310
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Tisa.BpmTesting&version=2026.9.10.310
#tool nuget:?package=Tisa.BpmTesting&version=2026.9.10.310
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Tisa.BpmTesting
Библиотека моков и утилит для модульного и интеграционного тестирования приложений на платформе BpmSoft. Разработана компанией ТИСА.
Возможности
- Моки для платформы BpmSoft:
UserConnectionMock,EntitySchemaManagerMock,EntitySchemaQueryMock,EntitySchemaMock, моки для сущностей и запросов - Клиент BPM: абстракции и реализация HTTP-клиента для обращения к BpmSoft Core API (
IBpmClient,BpmClient,BpmCoreService) - Интеграционные тесты: базовые классы и хелперы для тестирования с реальным BPM или тестовым окружением
- Совместимость с xUnit, NSubstitute, AutoFixture
- Целевые платформы: .NET 8.0, .NET 9.0, .NET 10.0
Установка
Подключите пакет к тестовому проекту:
dotnet add package Tisa.BpmTesting
Или в .csproj тестового проекта:
<PackageReference Include="Tisa.BpmTesting" Version="2026.9.10.0306" />
Зависимости
- BPMSoftSDK — доступен на nuget.org; подключается автоматически при установке пакета.
- Остальные зависимости (Flurl, NSubstitute, Polly, Serilog, xunit и др.) подключаются с nuget.org при установке пакета.
Использование
Мок UserConnection
using Tisa.BpmTesting;
using NSubstitute;
var userConnectionMock = new UserConnectionMock();
// Настройка поведения и использование в тестах
Клиент BPM API
using Tisa.BpmTesting.BpmAccess.Abstractions;
using Tisa.BpmTesting.BpmAccess.Infrastructure;
IBpmCoreService coreService = new BpmCoreService(config);
IBpmClient client = new BpmClient(coreService);
var response = await client.GetAsync("MethodName", queryParams);
Лицензия
MIT. Copyright © 2026 ТИСА.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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 is compatible. 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 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- AutoFixture.AutoNSubstitute (>= 4.18.1)
- BPMSoftSDK (>= 1.9.0.14114)
- Flurl (>= 4.0.0)
- Flurl.Http (>= 4.0.2)
- Newtonsoft.Json (>= 13.0.3)
- Npgsql (>= 9.0.4)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 9.0.4)
- Npgsql.Json.NET (>= 9.0.4)
- Polly (>= 8.6.6)
- Polly.Contrib.WaitAndRetry (>= 1.1.1)
- Serilog (>= 4.2.0)
- SQLitePCLRaw.bundle_e_sqlite3 (>= 2.1.2)
- System.Configuration.ConfigurationManager (>= 8.0.0)
- System.Drawing.Common (>= 8.0.0)
-
net8.0
- AutoFixture.AutoNSubstitute (>= 4.18.1)
- BPMSoftSDK (>= 1.9.0.14114)
- Flurl (>= 4.0.0)
- Flurl.Http (>= 4.0.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.3)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.3)
- Microsoft.Extensions.Options (>= 10.0.3)
- Newtonsoft.Json (>= 13.0.3)
- Npgsql (>= 9.0.4)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 9.0.4)
- Npgsql.Json.NET (>= 9.0.4)
- Polly (>= 8.6.6)
- Polly.Contrib.WaitAndRetry (>= 1.1.1)
- Serilog (>= 4.2.0)
- SQLitePCLRaw.bundle_e_sqlite3 (>= 2.1.2)
- System.Configuration.ConfigurationManager (>= 8.0.0)
- System.Drawing.Common (>= 8.0.0)
-
net9.0
- AutoFixture.AutoNSubstitute (>= 4.18.1)
- BPMSoftSDK (>= 1.9.0.14114)
- Flurl (>= 4.0.0)
- Flurl.Http (>= 4.0.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.3)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.3)
- Microsoft.Extensions.Options (>= 10.0.3)
- Newtonsoft.Json (>= 13.0.3)
- Npgsql (>= 9.0.4)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 9.0.4)
- Npgsql.Json.NET (>= 9.0.4)
- Polly (>= 8.6.6)
- Polly.Contrib.WaitAndRetry (>= 1.1.1)
- Serilog (>= 4.2.0)
- SQLitePCLRaw.bundle_e_sqlite3 (>= 2.1.2)
- System.Configuration.ConfigurationManager (>= 8.0.0)
- System.Drawing.Common (>= 8.0.0)
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 |
|---|---|---|
| 2026.9.10.316 | 150 | 3/16/2026 |
| 2026.9.10.313 | 133 | 3/13/2026 |
| 2026.9.10.310 | 87 | 3/8/2026 |
| 2026.9.10.306 | 93 | 3/5/2026 |
| 2026.9.10.305 | 87 | 3/5/2026 |
| 2026.9.10.300 | 85 | 3/5/2026 |
| 2026.1.9.321 | 87 | 3/21/2026 |