Files
Wojciech Nagórski 0371af9aaf Integration benchmark tests (#1298)
* Integration benchmark tests

* Fixes

* Write with encoding

* Update src/Renci.SshNet/Common/SshDataStream.cs

Co-authored-by: Rob Hague <rob.hague00@gmail.com>

* Add more benchmarks

---------

Co-authored-by: Rob Hague <rob.hague00@gmail.com>
2024-01-28 11:05:42 +01:00

20 lines
572 B
C#

using Renci.SshNet.IntegrationTests.TestsFixtures;
namespace Renci.SshNet.IntegrationBenchmarks
{
public class IntegrationBenchmarkBase
{
#pragma warning disable CA1822 // Mark members as static
public async Task GlobalSetup()
{
await InfrastructureFixture.Instance.InitializeAsync().ConfigureAwait(false);
}
public async Task GlobalCleanup()
{
await InfrastructureFixture.Instance.DisposeAsync().ConfigureAwait(false);
}
#pragma warning restore CA1822 // Mark members as static
}
}