Jump to content

Recommended Posts

Posted

Arrr! Be it broken?

 

I was refactoring a lib today, and moved one of our abstract test classes into another assembly..

 

Instantly the tests on the derived test classes were half the size, none of the inherited tests were working.. after spending some time proving it wasn't something I'd done wrong.. I moved the abstract class back to an inherited test class's project, removed the reference to the abstract project, compiled and ran the tests.. to my surprise - it worked again..

 

Instantly I removed the class back and added back the reference again, rebuilt and ran the*tests again, and it was still working.. great I said to myself, must have been one of those things..

 

Until I did some refactoring in the abstract test class, rebuilt and bam - all the inherited tests aren't running anymore..*as far as the test lists can see,*the abstract class tests don't exist..

 

Is this a bug?

 

PS: No bottle throwing because I'm using Microsofts unit testing instead of say.. xunit, I know,*I know!

 

More...

 

View All Our Microsoft Related Feeds

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...