1

I have a test method with TestCategory attribute as shown below.

<TestMethod()> <TestCategory("myCategory")>
Public Sub TestString()
   Dim a as String="a"
   Dim b as String="b"
   Assert.AreEqual(a,b)
End Sub

can we get the test category name (myCategory) using TestContext in AssemblyInitialize method?

Thanks in advance..

Tim Schmelter
  • 450,073
  • 74
  • 686
  • 939
Piyush
  • 5,145
  • 16
  • 49
  • 71

0 Answers0