Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-292223: Performance issue when editing a NUnit test class with sub classes and a large number of tests

$
0
0
Reporter Stephan Hauser (stephanencodo) Stephan Hauser (stephanencodo)
Created Mar 29, 2012 7:41:54 PM
Updated Mar 29, 2012 7:41:54 PM
Priority Show-stopper
Type Performance Problem
Fix versions No Fix versions
State Open
Assignee Sergey Coox (coox)
Subsystem Unit Testing
Affected versions 6.1
Fixed in build No Fixed in build
I uploaded a dotTrace 5 snapshot of one of the runs when this performance issue came up: ReSharper-20120329.zip.

This problem is occurring in many of our unit tests, which always have these characteristics:

  • ~3 base classes, which do all the required setup for our framework
  • The test class itself is abstract and contains many unit tests (50-100 is quite normal, some have even more)
  • 5 different sub classes which do the setup for different scenarios

The performance issues turns up in many of those files quite frequently and when it comes up, it completely freezes for ~40 seconds. After coming back to live it lets you edit the file for a few seconds and freezes again.

This is really annoying as it makes editing these unit tests in VS near impossible.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>