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

RSRP-467900: Custom MSTest Category Attributes are ignored

$
0
0
Reporter Andrey Simukov (Andrey.Simukov) Andrey Simukov (Andrey.Simukov)
Created Jan 11, 2018 2:26:53 PM
Updated Apr 13, 2018 6:10:21 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Critical
State Reopened
Type Bug
Fix version 2018.2
Affected versions 2017.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
Our custom MS Test category attributes are completely ignored in the new version (so everything appears under <Uncategorized>). Below is our custom attribute class, and a sample usage that previously correctly appeared in the category 'IntegrationTest'.


Imports Microsoft.VisualStudio.TestTools.UnitTesting
Public Class IntegrationTestAttribute
Inherits TestCategoryBaseAttribute
Public Overrides ReadOnly Property TestCategories() As IList(Of String)
Get
Return New List(Of String)(New String() {"IntegrationTest"})
End Get
End Property
End Class

<TestClass()>
Public Class AccessPointEntryDetailsTests
Inherits TestBase
<TestInitialize()>
Sub Setup()
End Sub
<TestCleanup()>
Sub CleanUp()
End Sub

<TestMethod()>
<IntegrationTest()>
Public Sub GetById_ShouldPopulateFields()
End Sub
End Class

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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