Today I got my unit tests to crash in Visual Studio. Right after some refactoring the tests stopped working and the output window contained the following message:

The active Test Run was aborted because the execution process exited unexpectedly. To investigate further, enable local crash dumps either at the machine level or for process vstest.executionengine.x86.exe. Go to more details: http://go.microsoft.com/fwlink/?linkid=232477

Looking closer at my refactoring action I soon noted that the constructors looked odd. Below a simplified replication of the crashing code. Can you fix the code below?

Share this:

Like this:

LikeLoading...

Related

About erictummers

My work as a recruited developer changes almost every month. I like challenges and sharing the solutions with others.
On my blog I’ll mostly post about my work, but expect an occasional home project, productivity tip and tooling review.