dotCover 1.1.1 and dotTrace Performance 4.5.1 Released
Despite the minor revision number, dotCover 1.1.1 introduces a ton of new features in the release.
ReSharper 6 Integration
With the recent release of ReSharper 6, we’ve been working hard to provide support for dotCover. As in previous versions, you can now run code coverage of tests directly from Visual Studio via the ReSharper test runner:
In addition, if you’re using ReSharper 6, you now get an additional icon () which allows you to cover all tests from the solution easily (accessible via the shortcut key Ctrl+U, K). Of course, ReSharper 5.x is also supported with this release.
Support for Dynamic NUnit Tests
dotCover now fully supports what are classified as dynamic tests in NUnit, i.e. those with variable input parameters and thus generated when tests are run. This includes the common TestCase attribute as well as Combinatorial, Sequential, TestCaseSource, Pairwise, Repeat as well as Random and Range attributes supported in method parameters.
This of course also allows a correct interpretation of tests covered by a certain section of code:
which corresponds to placing the cursor on the return statement and asking dotCover to Show covering tests (Ctrl+Alt+K). If we were to place the code on the exception we’d get:
Exclusion/Inclusion Nodes Persistence
In dotCover 1.1 we added the possibility of excluding or including specific tests from coverage by selecting the node in the tree. We now provide persistence of these nodes between coverage runs (saved in *.settings file when saving snapshots), as well as support for Undo and Redo operations via the normal Ctrl+Z/Ctrl+Y key shortcuts.
Apart from the previous, this release also includes
- Optimizations in the area of snapshot storage, memory consumption and performance of multi-threaded applications.
- Per-Snapshot settings, allowing snapshots to be saved along with node persistence exclusions as indicated previously (saved as *.dcvr and *.settings respectively).
- Improved notifications during coverage analysis
- Embedded progress bar in Unit Test Session Runner, as opposed to a modal dialogue
- Warnings when no coverage for a selected test is found
dotTrace Performance 4.5.1
This release of dotTrace has primarily been focused on integration with ReSharper 6 and minor bug fixes and improvements. Much like dotCover, dotTrace also supports the possibility of profiling all tests with one button click () or using the shortcut key Ctrl+U, O. This feature is in fact available for any custom test host provider that use ReSharper’s test runner.
This release also includes:
- Shortcut provided (Ctrl+R) for editing configuration used for profiling without having to first return to Welcome screen.
- Fix for OutOfMemory exception when constructing Hotspot Views
- Support for Opening all method instances merged (Ctrl+Shift+T) in Hotspots View
- Support for Adjust Time on special functions like Garbage Collector or Native Code
- Fix for Registry Cleanup allowing Windows services to work as intended
- Improved stability under IIS and ASP.NET
- Fix of the computation of the total time of Children nodes for a root constructed as implicit recursive node
- Work started on Profiling API
and more bug fixes.
Download from here
Subscribe to Blog updates
Thanks, we've got you!
Visualize Entity Framework Relationships and Additional Query Analysis in ReSharper 2023.3
A lot of teams are using Entity Framework or EF Core to work with their database. As an Object-Relational Mapper (ORM), it bridges objects in code to a relational database model, so that as a developer you don’t have to worry too much about the actual database. We all know: that’s not entirely tr…
Automatically Analyze ASP.NET Core Performance With Dynamic Program Analysis
Slow web pages may make your users or customers abandon your web application, even before they’ve had a proper look at it. You’ve likely also been frustrated working with a web application that is slow to load. The good news is that the latest versions of ReSharper and JetBrains Rider’s Dynamic P…
OSS Power-Ups: MassTransit – Webinar Recording
The recording of our webinar, OSS Power-Ups: MassTransit, with Chris Patterson, is available. This was the thirteenth episode of our OSS Power-Ups series, where we put a spotlight on open-source .NET projects. Subscribe to our community newsletter to receive notifications about future webinars.…
Eager, Lazy and Explicit Loading with Entity Framework Core
Entity Framework Core (EF Core) supports a number of ways to load related data. There’s eager loading, lazy loading, and explicit loading. Each of these approaches have their own advantages and drawbacks. In this post, let’s have a quick look at each of these ways to load data for navigational prope…