dotMemory Unit is an additional unit testing framework that allows you to write tests that check code for all kinds of memory issues. For example, these can be tests that determine leaks by checking memory for objects of a particular type, or tests that track memory traffic and fail in case the traffic exceeds some threshold. In other words, dotMemory Unit extends your unit testing framework (NUnit, MSTest, or other) with the functionality of a memory profiler.
To run tests that use dotMemory Unit, you should reference the dotMemory.Unit assembly (which is a part of this package) from your test project.
Tests with the support for dotMemory Unit can be run either with a standalone unit test runner of your choice or with the ReSharper unit test runner. For standalone runners, you should use a mediator - the standalone dotMemory Unit launcher. If you want to use the ReSharper unit test runner, you should have either ReSharper 9.1 (or later) or dotCover 3.1 (or later) installed on your machine
See the version list below for details.
Requires NuGet 2.8 or higher.
Install-Package JetBrains.DotMemoryUnit -Version 2.3.20160517.113140
dotnet add package JetBrains.DotMemoryUnit --version 2.3.20160517.113140
<PackageReference Include="JetBrains.DotMemoryUnit" Version="2.3.20160517.113140" />
paket add JetBrains.DotMemoryUnit --version 2.3.20160517.113140
● AssertTrafficAttribute can be applied to a method several times in order to check memory traffic with different filters
● Fixed multiple bugs related to providing manual support for the frameworks not supported out of the box
● Full list of fixes:
This package has no dependencies.