NewsBot
1
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
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