Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unit tests are always aborted

I am using VS-2013, windows 8.1 and trying to write some unit tests for my login page using NUnit. All the time it shows me the message 'Aborted'.

enter image description here

Secondly, I wrote a cleanup method but it never gets executed. As I am new to it, I have no idea how to debug this code. I am using resharper and I just do a right click on Can_Go_To_LoginPage method and click the option Run Unit Tests. I applied break points as well but it never stops at a break point.

like image 703
asma Avatar asked Mar 11 '15 05:03

asma


1 Answers

Visual studio 2019 - Mine was missing NET Core SDK's

  1. Click on View > Output

  2. Change "Show output from " to "Test"

it should tell you what exactly SDKs you are missing

like image 139
LeRoy Avatar answered Nov 14 '22 12:11

LeRoy