Tisa.BpmTesting
2026.9.10.305
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.305
NuGet\Install-Package Tisa.BpmTesting -Version 2026.9.10.305
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.305"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
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.305" />
<PackageReference Include="Tisa.BpmTesting"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
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.305
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Tisa.BpmTesting, 2026.9.10.305"
#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.305
#: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.305
#tool nuget:?package=Tisa.BpmTesting&version=2026.9.10.305
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Tisa.BpmTesting
Библиотека моков и утилит для модульного и интеграционного тестирования приложений на платформе Creatio (BPM'online). Разработана компанией ТИСА.
Возможности
- Моки для платформы BpmSoft:
UserConnectionMock,EntitySchemaManagerMock,EntitySchemaQueryMock,EntitySchemaMock, моки для сущностей и запросов - Клиент BPM: абстракции и реализация HTTP-клиента для обращения к BPM 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.0300" />
Зависимости
- BPMSoftSDK — доступен на nuget.org; подключается автоматически при установке пакета.
- В пакет включены платформенные сборки Creatio (BPMSoft.*, Ninject, Autofac и др.) в
lib/net8.0— дополнительные источники пакетов не требуются.
Использование
Мок 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)
- NSubstitute (>= 5.3.0)
- Polly (>= 8.6.4)
- 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)
- xunit (>= 2.9.3)
-
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.0)
- Newtonsoft.Json (>= 13.0.3)
- NSubstitute (>= 5.3.0)
- Polly (>= 8.6.4)
- 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)
- xunit (>= 2.9.3)
-
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.0)
- Newtonsoft.Json (>= 13.0.3)
- NSubstitute (>= 5.3.0)
- Polly (>= 8.6.4)
- 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)
- xunit (>= 2.9.3)
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 | 145 | 3/16/2026 |
| 2026.9.10.313 | 130 | 3/13/2026 |
| 2026.9.10.310 | 84 | 3/8/2026 |
| 2026.9.10.306 | 89 | 3/5/2026 |
| 2026.9.10.305 | 85 | 3/5/2026 |
| 2026.9.10.300 | 82 | 3/5/2026 |
| 2026.1.9.321 | 82 | 3/21/2026 |